Detect Raycast Hit?

JMCCK

New member
Is there an action that can detect when a GameObject's collider has been hit by a Raycast?

I've had a look at some of the actions but couldn't find what I'm looking for, I did see Has Received Event, would this be what I should use instead?
 
There is Has Collider/Trigger Entered but that doesn't trigger with a raycast. Physics.Raycast does not issue any callbacks so for this case you'll need a custom task. Has Received Event is for receiving a behavior tree event and does not relate to physics.
 
Top