Case Status
Log In


Home ยป Action Reference»Transform Actions»Look at 2d GameObject
Community Wiki

Look at 2d GameObject

Rotates a 2d Game Object on it's z axis so its forward vector points at a Target.

Game Object
The GameObject to rotate.
Target Object
The GameObject to Look At.
Rotation Offset
Set the GameObject starting offset. In degrees. 0 if your object is facing right, 180 if facing left etc...
Draw a debug line from the GameObject to the Target.
Debug Line Color
Color to use for the debug line.
Every Frame
Repeat every frame.


Last modified on 3/15/2016 2:12 AM by User.

  • RSS Feed