Topic was automatically imported from the old Question2Answer platform.
Asked By
Ender
Im trying to use the vehiclebody node for making a physics based car game. Is this the best idea or should i try something else?
Im trying to add physics for the car to drive over a ramp. works fine sometimes but it usually ends up landing upside down or slightly sideways. Is there a way to keep it landing on its wheels in a certain direction. I tried adding the turning feature but it does not work
You can use integrate_forces() to manually handle the rotation of the vehicle. I tried locking the rotation of the vehicle but it doesn’t look natural. If you’re just trying to prevent the vehicle from rolling over try setting vehicle_wheel’s roll_influence() to a low value.
Thanks I have roll influence but I will look into the integrate forces. I managed to get something working by using invisibile walls