Physx : nxWheel

mafioso

24-05-2007 14:06:24

Hello,

I'm rooky, i trying to actived the suspension in the sample SampleRaycastCar like Lesson704.

I'm following the code during excution but i'm not fond why the suspenson staying rigid.

Thank for your help.

<~Creatine~>

24-05-2007 14:44:08

Hello,

I'm rooky, i trying to actived the suspension in the sample SampleRaycastCar like Lesson704.

I'm following the code during excution but i'm not fond why the suspenson staying rigid.

Thank for your help.

You can found suspension, friction etc in nxogre DLL. If you want to make custom options, you need implement it yourself from wheel etc classes.


//NxOgreShapeWheel.cpp
suspension_damper = 50.0f; //50.0f
suspension_spring = 3500.0f; //750.0f //spring power
suspension_target = 5.0f; //0.75f //spring position
suspension_travel = 10.0f; //1.0f //amplitudo

mafioso

25-05-2007 06:22:04

Thank, i'had changed many in the sample but within success perhpas
with yours, it's ok.

I'll replying you as soon as possible.

mafioso

26-06-2007 09:11:33

All this parameters have been implemented.
But, i'm not understand why the vectorial mode is ok but in 3D plain my wheels stay in the same place, their are not linked with suspension !!

how link wheel with wheelshape ?