Ylands Tile - Rotate object

From Bohemia Interactive Community
Jump to navigation Jump to search

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.