Dismiss Notice

In the upcoming weeks mod approvals could be slower than normal.
Thank you for your patience.

VR Horizon Locking Interior Camera 1.0

Adds proper horizon locking to the interior camera for VR users

  1. austint30
    This mod is now superseded by Enhanced Interior Camera. I recently added VR presets to that mod including a VR (Comfort) preset which is the equivalent to this mod. It allows for much more configuration compared to this mod.


    First of all, congrats to the BeamNG devs for finally adding VR support to BeamNG! VR support, however, is still rough around the edges in many places. For me, it's the lack of a horizon locking feature that is prevalent in many racing simulators that support VR. BeamNG does have horizon locking for when the vehicle rolls, but unfortunately not when the vehicle tilts forward and back.

    Why horizon locking? In real life when you drive a car, your head moves independently from the vehicle to keep your view stable with the road. If a VR game does not simulate this fact, it can lead to an uncomfortable and motion sickness inducing experience as the feels like the world is rotating around you rather than just the car.

    This mod aims to fully implement horizon locking into the interior camera for a more comfortable and immersive driving experience.

    VIDEO


    HOW TO USE
    1. Install the mod.
    2. Go to Settings > Camera > Driver > Horizon Lock and move the slider to 100%.
    3. Change your camera in-game to vr_driver.
    FEATURES
    • Adds horizon locking to both pitch and roll axises.
    • Customizable horizon lock factor. Slide the slider in Settings > Camera > Driver > Horizon Lock to customize the strength of the horizon lock.
    • Horizon lock is temporarily disabled when the vehicle is rotated at extreme angles or upside-down. Makes it possible to drive on loops.
    HOW TO USE IN BEAMMP
    Because of the way BeamMP handles mods, you will not be able to use this mod on servers unless the server includes this mod. However, you can get around this by replacing the driver.lua script with vr_driver.lua. To do so, go to your BeamNG installation directory. Then navigate to lua/ge/extensions/core/cameraModes. Rename driver.lua to driver.lua.backup. Download the vr_interior_camera.zip file and find the vr_driver.lua script and copy and paste it into the folder where you just renamed driver.lua. Then rename vr_driver.lua to driver.lua.

    Now you should be able to use this mod in BeamMP.

    HOW TO HIDE UI
    Unfortunately due to the way BeamNG's camera system works, only the original interior camera will hide the speedometer. Custom cameras cannot hide it. However, you can hide the UI in two ways:
    1. Press ALT + U to hide all UI. This will hide everything including the menus. You will have to press ALT + U again to reveal it.
    2. Follow the steps in the HOW TO USE IN BEAMMP section to replace your driver.lua file. Please backup your driver.lua file in case anything goes wrong!

Recent Reviews

  1. Vred
    Vred
    5/5,
    Version: 1.0
    Highly recommended for every VR players. Works perfectly, thank you
  2. immortalx
    immortalx
    5/5,
    Version: 1.0
    There's no way I could play the game in VR without this mod!
    Works perfectly. I'm wondering if there's a way to completely disable the side-to-side locking (i.e when the car spins).
  3. Racetro
    Racetro
    5/5,
    Version: 1.0
    Works as advertised, and helps considerably with motion sickness.

    One suggestion: I would like to have the UI hide like the vanilla cockpit camera.
    1. austint30
      Author's Response
      I've tried to find a way to hide the UI but sadly BeamNG just has no way of doing that for custom cameras. The only way to accomplish this is to replace your driver.lua file with vr_driver.lua. If you need more inf, check the BeamMP section of the mod description.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice