Goal Keeper Collision Question

Please don't post Bullet support questions here, use the above forums instead.
ebingol
Posts: 2
Joined: Wed Mar 17, 2010 9:54 am

Goal Keeper Collision Question

Post by ebingol »

Hi

I am a noob with Bullet Engine. I am trying to detect collision Detection goally and the ball.5
I am using a box as the shape.
A this point I am controlling the box with the animation that is, its position and orientation depends on the pelvis bone.


I have create a dynamic world since soccerball is govern by the physics.
And the goal keeper box is a static object however it moves according to the bone as I mentioned previously.

I would like to turn the collusion off ( so that i can detect collisions but not necessarly affect the objects)
So when ball hits the goally box i dont wanna change the ball direction or anything but only detect it.

Thank

If this is a wrong place to post this I am sorry.
OSasuke
Posts: 47
Joined: Tue Dec 09, 2008 10:12 am

Re: Goal Keeper Collision Question

Post by OSasuke »

Try to use btGhostObject

read this : http://www.bulletphysics.org/mediawiki- ... d_Triggers

A btGhostObject detects collisions but never affects the objects that collides with.