Case Status
Log In


Home ยป Action Reference»iTween Actions»iTween Look To
Community Wiki

iTween Look To

Rotates a GameObject to look at a supplied Transform or Vector3 over time.

Game Object
The Game Object to rotate.
Transform Target
Look at a transform position.
Vector Target
A target position the GameObject will look at. If Transform Target is defined this is used as a local offset.
The time in seconds the animation will take to complete.
The time in seconds the animation will wait before beginning.
Can be used instead of time to allow animation based on speed. When you define speed the time variable is ignored.
Ease Type
For the shape of the easing curve applied to the animation.
Loop Type
The type of loop to apply once the animation has completed.
Restricts rotation to the supplied axis only. Just put there strinc like 'x' or 'xz'
Start Event
Event to send when the iTween starts.
Finish Event
Event to send when the iTween finishes.
Real Time
Setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0.
Stop On Exit
Stop the iTween if the current state is exited.
Loop Dont Finish
Sets whether a looping iTween should send the finish event.

Last modified on 5/9/2011 8:38 PM by User.

  • RSS Feed