Some physX problems

Posted By: DonaldThief

Some physX problems - 07/21/13 20:27

Hello, everyone

I started learning physX recently ,but I had a problem....

I wanted to move a car using physics ,but because add_forcecentral moves it on the global axes ,I used add_forcelocal. Unfortunately, I'm getting a spinning effect although I set vpos vector to car.x

Also, the car penetrates the terrain because of gravity ,so I had to set gravity to nullvector

Thank you for reading
Posted By: 3dgs_snake

Re: Some physX problems - 07/22/13 05:00

You can look in knights_on_wheels.c to see how to create a car with physX (also in car.c for the internal workings).
© 2024 lite-C Forums