Controller and Kinematic actors

NoodlesOnMyBack

09-06-2009 21:50:24

I have a Character controller class and some kinematic actors driven by animations, ie: an elevator.
I Need to move the character (push it, lift it, etc) by these animated plataforms, doest anyone know how to do this?

The ideal solution would be to add this external aditional forces to move the character every time i update it:

disp += elevatorForce;

character->move(disp, 1, 0.000001f, collisionFlags, sharpness);

But how can i get this value from PhysX?

Thanks in advance.