Kinematic with collision

User avatar
deivith3d
Posts: 6
Joined: Thu May 30, 2013 7:08 pm

Kinematic with collision

Post by deivith3d »

I am new user of Bullet. I need to control an object on a trajectory and this object must suffer collisions with other static objects. An object that can be controlled is a kinematic but he does not suffer collisions. How can I do this? Have an example code for studies.
I appreciate your help :mrgreen:
Granyte
Posts: 77
Joined: Tue Dec 27, 2011 11:51 am

Re: Kinematic with collision

Post by Granyte »

a kinematic is an object that will not respond to collision

so you could emulate it like it's done in the kinematic controller

or you could use a dynamic object and control it using forces
User avatar
deivith3d
Posts: 6
Joined: Thu May 30, 2013 7:08 pm

Re: Kinematic with collision

Post by deivith3d »

I'll explain my problem: I modeled a skull(green) and jaw(red) and I need to control the displacement of the jaw colliding with the skull (the temporal fossa(blue)). What do you recommend me to do this? The jaw would be a dynamic object? But then could not control the jaw.
You do not have the required permissions to view the files attached to this post.
Granyte
Posts: 77
Joined: Tue Dec 27, 2011 11:51 am

Re: Kinematic with collision

Post by Granyte »

attach it with a constain like in the ragdoll example and use forces to control it
User avatar
deivith3d
Posts: 6
Joined: Thu May 30, 2013 7:08 pm

Re: Kinematic with collision

Post by deivith3d »

I will now study the ragdoll example and try to apply it to my problem. Many thanks for your help :)