kripken / ammo.js

Direct port of the Bullet physics engine to JavaScript using Emscripten
Other
4.14k stars 557 forks source link

about character controler #127

Open lo-th opened 8 years ago

lo-th commented 8 years ago

hello i try to make character controler but something don't work i have no collision i use btPairCachingGhostObject (btGhostObject don't work)

collision group and mask work find (see collision exemple)

someone have test btKinematicCharacterController on last build ? also world don't have removeCollisionObject() function ? removeRigidBody seem work for that

http://lo-th.github.io/Ammo.lab/#character

yomboprime commented 8 years ago

I haven't used the btPairCachingGhostObject, sorry. But answering your second question, yes, there is no removeCollisionObject in Bullet, only removeRigidBody, and removeSoftBody.

extremety1989 commented 4 years ago

@lo-th hey how did you handle kinematic character ?

cesarpachon commented 4 years ago

I am also interested in this answer.. there is almost no tutorials nor docs about the btKinematicCharacterController and Bullet doc and forums keep saying it has problems. wonder if that is the case yet (2020).