kripken/ammo.js

How to use setUp or setUpAxis on btKinematicCharacterController

MotleyBots opened this issue · 0 comments

I'm attempting to change the 'up' axis or vector of a btKinematicCharacterController after creation.

Looking at the object, the only function I can see as being a likely option is 'setUpAxis' which I have attempted to implement. The result of calling the function is always falling in the positive z direction, no matter the input. I have tried using btVector3, btScalar, btQuaternion, etc to no effect.

Any insight would be appreciated.