Page 1 of 1

Kinematic Character collision response needed

Posted: Wed Jul 23, 2014 9:41 am
by marc.poch
Hello folks,

I'm developing a video-game for testing my skills and to open doors to my professional life.

I have created a 3D scene where I have 4 kinematics character (ghost) cubes moving. I can move them with a gamepad and I get its collisions from the manifold. And now I would like to program the collision response.

In first place I would like to process kinematic collisions as if they were bullet's rigid bodies collisions. And then I would like to alter the response to exaggerate or block the movements.

I'm thinking on get a solver from bullet and edit the code to satisfy my needs. But honestly I feel lost, and I would appreciate some help. How do you handle kinematic collisions?

Thank you in advance.

Re: Kinematic Character collision response needed

Posted: Thu Jul 24, 2014 3:07 am
by rebirth
It's all in the btKinematicCharacterController class. It's quite messy and am using a custom version myself, but what you need is performed in that class (and a couple of helper classes included in the same CPP file).

Re: Kinematic Character collision response needed

Posted: Thu Jul 24, 2014 9:20 am
by marc.poch
Thanks for the hint, I'm working on it.