Kinematic Character collision response needed

Post Reply
marc.poch
Posts: 2
Joined: Tue Jul 22, 2014 4:31 pm

Kinematic Character collision response needed

Post 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.
rebirth
Posts: 24
Joined: Thu Jul 24, 2014 2:48 am

Re: Kinematic Character collision response needed

Post 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).
marc.poch
Posts: 2
Joined: Tue Jul 22, 2014 4:31 pm

Re: Kinematic Character collision response needed

Post by marc.poch »

Thanks for the hint, I'm working on it.
Post Reply