Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Debug Actions»Draw Debug Ray
Index
Navigation
Community Wiki

Draw Debug Ray

Draws a line from a Start point in a direction. Specify the start point as Game Objects or Vector3 world positions. If both are specified, position is used as a local offset from the Object's position.

From Object
Use Game Object as start point.
From Position
Use Vector3 as world position or offset from object if defined.
Direction
Vector3 direction in world space.
Color
The color of the line.

 

Hint: Turn on Gizmos in the Game View to see the line in the running game.

Tags:

Last modified on 2/19/2011 1:45 PM by User.

  • RSS Feed