Raycast vehicle wheels

dakffyd
Posts: 13
Joined: Wed Jan 20, 2010 1:35 am

Raycast vehicle wheels

Post by dakffyd »

Hi all,

I've integrated bullet into my company's game engine, but my wheels aren't spinning properly. they will spin, but not when i apply force to them. so they will sometimes be spinning backwards or not at all, or one will go nuts after it bounces off something.

All other rotations seem to work fine.

Any ideas?
TIA :)
User avatar
ejtttje
Posts: 96
Joined: Mon Nov 03, 2008 9:57 pm

Re: Raycast vehicle wheels

Post by ejtttje »

Check rotational inertia and/or center of mass? I had some odd effects with things moving when they shouldn't when I had a center of mass coincident with a rotational constraint and thus some kind of screwy rotational inertia.