πRaycast
Point, aim, click! Send a message to a precise point
Last updated
Point, aim, click! Send a message to a precise point
Last updated
Copyright Β© 2012- 2023 The Sandbox. All Rights Reserved.
Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components
Use offset coordinates to create a ray pointing in any direction from the object's pivot point
Set collision targets
Send a message when the ray hits a collision target
Inputs: One or more messages | Outputs: Message on hit |
Ranged collisions that do not require a visible projectile
Guided aiming with visibility turned on
Ranged detection at a certain point in space (as opposed to detecting an object within an area range using other logic)
Move the object with Pickable component, the object's gravity settings, or by making it a child object for innovative gameplay
The parameter Is Visble During Game is a toggle to turn on/off the blue line for the ray so the player can see where it will point and what object(s) it may intersect with when triggered.
Trigger a message when a precise point is detected.