Request the system to evaluate if a straight line between two points is interrupted or not.
Use OnRayCastHit and OnRayCastMissed events to get the result.
Note: The events do not provide any data to easily attribute the hit or miss to a specific cast ray.
Note: The OnRayCastHit and OnRayCastMissed events will always provide a player argument, which is likely to be invalid if a ray is cast with this function.
Request the system to evaluate if a straight line between two points is interrupted or not. Use
OnRayCastHitandOnRayCastMissedevents to get the result. Note: The events do not provide any data to easily attribute the hit or miss to a specific cast ray.