Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»iTween Actions»iTween Look From
Index
Navigation
Community Wiki

iTween Look From

Instantly rotates a GameObject to look at the supplied Vector3 then returns it to it's starting rotation over time.

Game Object
The Game Object to rotate.
Transform Target
Look from 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.
Time
The time in seconds the animation will take to complete.
Delay
The time in seconds the animation will wait before beginning.
Speed
Can be used instead of time to allow animation based on speed. When you define speed the time variable is ignored.
Ease Type
The shape of the easing curve applied to the animation.
Loop Type
The type of loop to apply once the animation has completed.
Axis
Restricts rotation to the supplied axis only.
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.
Tags:

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

  • RSS Feed