RigidBodies To Ignore Raycast

RigidBodies To Ignore Raycast

Hey guys,

I am using the world to cast a ray.


Is there a way for rigidbodies to ignore that raycast?


2 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.

Hi Jose,

You can get a raycast to ignore a particular set of rigid bodies using the shape collection filter in the raycast input. To use the filter, you'd first need to divide your rigid bodies into collision groups. You can then use the shape collection filter in your raycast input to specify which collision group(s) to consider. Please look at the Physics->API->Collide->Ray Casting->Ray Cast Filtering demos and at the Havok Physics Help under Interacting with a Simulation->Collision Filtering for some more details.


Josh S. Havok Developer Support Engineer www.havok.com

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen