Raycast on CompoundCollidable
-
- Posts: 54
- Joined: Fri Mar 11, 2011 11:44 pm
Raycast on CompoundCollidable
I'm performing a raycast and if it hits a CompoundCollidable I would like to find out what child of the CompoundCollidable it hit. What would be the best way of doing this? Maybe a special raycast method could be added to the CompoundCollidable?
Re: Raycast on CompoundCollidable
There is an overload of the RayCast method on the CompoundCollidable which outputs the CompoundChild hit by the ray. I don't remember when I added it; it may require the development version.Maybe a special raycast method could be added to the CompoundCollidable?