This mod adds handheld-like camera movement by tracking phone rotation and sending it to BeamNG. There's also a zoom sequence option that lets you cycle through predefined field of view values. I use this mod only for shooting specific camera angles, not for gameplay. Setup guide The mod consists of two parts: the Android app and the BeamNG mod. You can build the app with Android Studio from the source code, or use the pre-compiled .apk file. Firstly, you'll need to connect your phone to your PC in USB tethering mode. Connecting both devices to a Wi-Fi network should work too, but I didn't check that. Check your local IP address by typing this command in CMD: Code: ipconfig /all Search for the IPv4 value: Then open the app and enter the IP address to the first field. Press "Apply IP & start sending": Now open BeamNG and make sure that the 'handHeld' camera has appeared in the vehicle camera list: If everything is ok, press Alt+B to start the mod (the settings window should appear). Switch either to free or to handheld vehicle camera (adjust the offset in the 'Node camera' tab). Now if you press the left mouse button, you will notice that the in-game camera follows your phone rotation. Note 1: the phone screen has to be on with the rotation tracking app running. Note 2: hold your phone like a remote, not like filming something. You can add, remove and edit zoom steps in the 'Zoom sequence' tab. If you press the middle mouse button, the camera will go to next predefined FoV value (notice how the arrow points at the current zoom step): The camera can be assigned to any node: To turn off the mod, press Alt+B again. Update 1.1: camera smoothing and small refinementsNow it is possible to adjust camera smoothing. Also, holding LMB is not forced anymore, there's a new checkbox to turn that off.
this is VERY awesome! are you planning on developing this any further or adding some kinda of smoothing? some things that helped for me was reducing the delay in app, recording in slow motion to get smoother movement, and using motion stabilization when editing the video. Additional suggestions would be not requiring LMB to be held to activate tracking, being able to hold the phone in a "recording" orientation, and maybe zoom controls on the app
100% agree, smoothing would be so nice to add, with the delay even at 1 it is still incredibly choppy when zoomed in. and not having to hold the mouse button down would be a nice quality of life thing too. other than that this is a sick way to film some stuff!
Used this mod for not even an hour to try it out and deleted it yesterday but today I had 6 different folders with random names which include two pictures of the app logo in them... Dk why that is but just found it weird
The rotation_tracker_source_code_and_apk.zip contains the apk and the source code. You extracted the source code to your phone along with the APK. it has 5 folders at \source\rotationTracker\app\src\main\res\mipmap-*** that contain icon photos, and the parent folder, \source\rotationTracker\app\src\main has a logo as well
it is not possible to do that on IOS because of how IOS is made, different os architecture, safety things and more, android is more like opened, so, you can do it only on android because of how unlocked that is
Thanks for feedback, didn't expect the mod to get this much attention . I added smoothing and the "Hold button to track rotation" checkbox. No changes to the app. The delay should be set according to your screen refresh rate, 15 milliseconds are fine if the game runs at 60 fps.