Hi,

when I create my wheel as entity, I want a random rotation at the beginning (it looks more realistic, when the tire valves are not on the exact same position). When I do

Code:
eWheel->tilt = random(360);



it looks ok, but as soon as I do

Code:
pXcon_add(PH_WHEEL, eWheel, eChassis, 0);
pXcon_setparams1(eWheel, eWheel->x, vector(0,0,1), vector(0,1,0));
pXcon_setparams2(eWheel, NULL, vector(100, 100, 0), vector(1000, 100, suspensionWay));



the wheels are rotated... like garbage smile

I thought PhysX takes the wheel as it is (position and angle) when adding it as physics-entity... the wheel axis (axis 2) should remain, but do I have to transform the chassis axis (axis 1) as well or whatelse?

Last edited by HeelX; 08/22/11 19:42.