Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Transform Actions»Get Angle To Target
Index
Navigation
Community Wiki

Get Angle To Target

Gets the angle between a game object's forward axis and a target. The target can be defined as a game object or a world position. If you specify both, then the position will be used as a local offset from the target's position.

Game Object
The game object whose forward axis we measure from. If the target is dead ahead the angle will be 0.
Target Object
The target object to measure the angle to. Or use target position.
Target Position
The world position to measure an angle to. If Target Object is also specified, this vector is used as an offset from the object's position.
Ignore Height
Ignore height differences when calculating the angle.
Store Angle
Store the angle in a float variable.
Every Frame
Repeat every frame.
Tags:

Last modified on 2/15/2011 1:02 AM by User.

  • RSS Feed