Creating "Sensors"

josemarin
Posts: 38
Joined: Fri Aug 12, 2005 5:37 pm

Creating "Sensors"

Post by josemarin »

Hi.

It´s possible to create "sensors" using Bullet?

It would be a region (box or cylinder), that would report a collision if something touches it, but doesn´t react to it, I mean, it allows the object pass throught it.

I will use it to create "triggers" on my game.

Thanks for any tip!


Jose
Hamstray
Posts: 15
Joined: Thu Jan 11, 2007 7:45 pm

Re: Creating "Sensors"

Post by Hamstray »

setCollisionFlags(btCollisionObject::CF_NO_CONTACT_RESPONSE);