Changing mesh->change physix

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
askona
Posts: 14
Joined: Wed Jun 01, 2011 3:45 pm
Location: Ukraine

Changing mesh->change physix

Post by askona »

If i load one mesh model http://i018.radikal.ru/1106/f2/db37d0e7ef60.jpg
my wheels spinning but car and wheels freeze at one place. But if i load another model http://s08.radikal.ru/i181/1106/22/2097ab09f581.jpg my car is riding and all is as it shoul be...and if i change joint position(to make wheels don`t intersect with car) it`s nothing - problem is steel http://i019.radikal.ru/1106/f2/bfd1dc374e1a.jpg
Brainsaw
Posts: 1177
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

If the wheels are spinning and the car doesn't move there are two things I can think of:

- the friction ("mu" in ODE) is set to zero
- the wheels don't touch the ground because the car's body touches it instead.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
askona
Posts: 14
Joined: Wed Jun 01, 2011 3:45 pm
Location: Ukraine

Post by askona »

Thanks youre were right problem was in second variant if my car looks like supertruck (i changed distanse between wheels and car) it`s working
Post Reply