Advertisement

Racer Jump Problem

Started by March 07, 2002 03:28 AM
1 comment, last by Lazarus404 22 years, 11 months ago
Hi all, I''m posting this in the hope that someone who reads this has had the experience at getting a vehicle in a racing sim to jump. So far I have realistic driving physics, smoke simulation, gravity simulation, skidmarks etc. etc. but letting the vehicle know when to jump and when not to is a real brain teaser. Does anyone know the best way to do this??? ie. supposing you have a vehicle traveling forward and forgetting the code needed to manage the actual jump. The vehicle reaches an area where it should find ground, but the ground has dipped. How do I test for that realisticly??? I''ve tryed doing a simple checking of whether the new ground angle is less that the previous ground angle, but that doesn''t seem to work. I''d be grateful for any help anyone can give. Thanks, Lazarus404
Lazarus404
How is your car modelled? A single rigid body? Or are the 4 wheels seperate parts connected to the rest of the car with springs? Or something totally different?

If you''re using the springs-thing, there is not a problem at all. Resolve the collision between the front wheels and the slope, the springs will be shorter and therefore push the car''s front up.
Dirk =[Scarab]= Gerrits
Advertisement
If you have realistic physics with gravity, the car should carry on a parabolic path in the absence of ground to keep it up.

This topic is closed to new replies.

Advertisement