Tile - YAnimators - Rotate To – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}} {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} Category: Instructions Category: Ylands 0.13")
 
No edit summary
Line 1: Line 1:
[[Image:Rotate object.png]]
*'''Animation''' script tile, which rotates selected '''object''' to '''target''' rotation coordinates.
*'''Object''' can be entity, group or game logic.
*'''Time''' defines how many seconds should it take to perform the animation.
*'''Speed''' opposite to time, defines how quickly should the animation be performed.
*'''Smoothing''' is a number 0-1.
**At 0, the rotation is completely smooth with no acceleration.
**At 1, the speed peaks at the middle, accelerating from the start and slowing towards the end.


NOTE: Object needs to be set to '''Animated'''.


----
----

Revision as of 10:02, 12 July 2019

Rotate object.png

  • Animation script tile, which rotates selected object to target rotation coordinates.
  • Object can be entity, group or game logic.
  • Time defines how many seconds should it take to perform the animation.
  • Speed opposite to time, defines how quickly should the animation be performed.
  • Smoothing is a number 0-1.
    • At 0, the rotation is completely smooth with no acceleration.
    • At 1, the speed peaks at the middle, accelerating from the start and slowing towards the end.

NOTE: Object needs to be set to Animated.


Template:Ylands scripting navbox