I need to implement raycast vehicles with newton, but I don't know how. I searched in the forums, with google etc. I also got some code or explainations here and there but I can't make head or tail of it
I got so far that I ended up with a vehicle that bounces wildly up and down and after time lifts up in space to be never seen again, sometimes it just fells over and thats that.
What I do: Add gravity to the cassis. Sending out rays from the tire positions to return collision points with the ground. Depending on how far the collision point is from anchor of the tire I add force on that position contrary to the gravity direction.
I somehow need to dampen the bouncing, but also make sure the tires do not fall through the ground.
any ideas?
greetings