As you can see in this video, the physics seems to be broken. It appears that integration isn’t working well and thus the force applied is making it explode. It doesn’t let it damp correctly. I’ve got the substeps maxed out so I am very surprised about this unnatural behaviour. Is there a way to solve it?
Hi adriansnetlis,
In your video, you are dropping the car to show the effect but in the Blender video that you reference the car is sliding on turns. What is the exact effect that you are trying to accomplish?
Suspension. In the Blender video I never dropped my car(didn’t think of showing how suspension works in my system), but if I dropped it, it would land smoothly. When testing my suspension in Blender, I dropped it many times and it worked smoothly. The mathematical equations used in both suspension systems are 100% equal.
Physx generally sacrifices real-world accuracy for in-game stability. So I’m unsure exactly how Physx is handling everything on their end, but you can see a suspension system successfully working using ‘Add Force At Location’ in Mhousse1247 ‘Go Kart Physics Template’; which you can download here.
I would suggest digging into that template. The formula for his suspension system does vary quite a bit from yours.
Cheers,
TJ
Hi! I actually relooked through my system and noticed that I had some conflicting units in my suspension. Basicly I used cm somewhere paralelly using m. This messed all up. Now I refractored my system and it seems to work fine. Thanks for the link to template. I may look at it and learn a few things!