Page 1 of 1

Body as sensor

Posted: Thu Sep 13, 2012 9:05 pm
by saturn1
Hello,
i dont found the property issensor for a body.

Maybe the only way is with CollisionRules?

Can you enlighten me for this point?

Thank you

Re: Body as sensor

Posted: Thu Sep 13, 2012 9:31 pm
by Norbo
If you want to use an entity to collect contacts and fire events but not perform collision response, the proper way is indeed collision rules (a NoSolver relationship, specifically). More information can be found in the collision rules documentation and the CollisionFilteringDemo in the BEPUphysicsDemos.

The DetectorVolume can also be used if you have a static mesh where you only care about whether the object is touching/contained, and not about specific contact point locations, normals, and depths.

Re: Body as sensor

Posted: Thu Sep 13, 2012 9:52 pm
by saturn1
thank you :)