ammo.js icon indicating copy to clipboard operation
ammo.js copied to clipboard

the setLinearVelocity for btKinematicCharacterController is not exposed

Open x1911 opened this issue 5 years ago • 2 comments

Hi,

the physic body from btKinematicCharacterController cant setLinearVelocity,

if I want to do double jump or the recoil force

thanks

x1911 avatar Nov 10 '20 13:11 x1911

I dont think the character controller has an actual btRigidBody... is use a ghost object in the physics world.

	btPairCachingGhostObject* m_ghostObject;

So if you wanted to HIJACK the ghost object and do what need with that.

MackeyK24 avatar Aug 07 '22 02:08 MackeyK24