LUA Gravity Triggers - How to set up in BeamNG
Subscribers:
3,300
Published on ● Video Link: https://www.youtube.com/watch?v=93pAJInTrGw
Copy this to past into your LUA script box as seen in video...
core_environment.setGravity(-9.81)
-9.81 is Earth Gravity. Anything in the negative is pulling towards the earth. Greater than -9.8 into the positive is opposite. Pulling to the air. Not sure the number that is moon, but you get the idea. I used 900.0 in this video to simulate the sucking of the car towards the black hole.