Defined in:Sets the line segment representing the interaction probe.
void SetInteractionProbe(const Point3D& p1, const Point3D& p2);
||The beginning of the line segment.|
||The end of the line segment.|
SetInteractionProbesets the world-space endpoint coordinates of the probe used to test for interactive objects. This function is typically called from within a function overriding the
World::DetectInteractionsfunction before the base class
DetectInteractionfunction is called.
When the interaction probe intersects interactive objects in a world, the
Interactor::HandleInteractionEventfunction is called to handle various interaction events.