Ray Casting

dbrock

06-02-2008 06:10:37

Hey guys,

I want my raycasts to ignore characters, because they have actors attached to the bones, so i'd like to check for those hits instead of the big cylinder around them.

SiWi

06-02-2008 09:23:16

I think the character´s Actor is already filtered out.

betajaen

06-02-2008 11:00:32

Yep, the character won't be in the Actor's container (they are different classes) so they would be filtered out.

dbrock

08-02-2008 18:29:07

I'm trying to use getClosestActor but it's not working because it's getting absorbed by the character. Because I've set my raycast beam to return the closest thing it finds. Do I have to take the non-lazy way out, and use all raycast reports and iterate, and locate the actor instead?