I'm trying to make better physics for vehicles but i can't script 1-2 things. Is it planned in the future to make better the physics for vehicles?
If anyone has a good physics script for vehicles then i would accept it with pleasure.
I'm trying to make better physics for vehicles but i can't script 1-2 things. Is it planned in the future to make better the physics for vehicles?
If anyone has a good physics script for vehicles then i would accept it with pleasure.
What is the problem? What do you have so far?
Morpheus Script (MoH) => You try to shoot yourself in the foot only to discover that MorpheusScript already shot your foot for you.
i have player-vehicle collision, obstacle-vehicle collision, acceleration-deceleration. Now i want fraction and deceleration by the gravity on slope but i don't know how to define the direction of this slip.
I used traces to work out angles.
4, 1 down from each wheel.
The difference in height between the front and back gives you the slope.
note: I didnt do this which is why mine failed, but I think you will need to workout the location and slope and height the car should be at before moving it to the next position. That should work.....oh and don't let it go too fast :P
and if the standing vehicle is in angle and not parallel with the slope?
you have 4 traces from each wheel
if you will have time make me a script about it because now i can't imagine :P