Tile - YAnimators - Aim 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:Aim to object.png]]
*'''Animation''' script tile, which rotates selected '''object''' to '''target'''.
*Both '''object''' and '''target''' can be entity, group or game logic.
*'''Target offset''' defines offset of the '''aimed''' position. Further defined by the '''relative offset''' option.
*'''Max speed''' and '''acceleration''' define the angular velocity properties of the animation.
*'''Angle to start/stop''' work similarly as '''distance to start/stop''' in '''follow object''' animation.
*'''Axis''' options define, if the aiming rotation happens around selected axis.


----
----

Revision as of 09:41, 8 July 2019

Aim to object.png

  • Animation script tile, which rotates selected object to target.
  • Both object and target can be entity, group or game logic.
  • Target offset defines offset of the aimed position. Further defined by the relative offset option.
  • Max speed and acceleration define the angular velocity properties of the animation.
  • Angle to start/stop work similarly as distance to start/stop in follow object animation.
  • Axis options define, if the aiming rotation happens around selected axis.

Template:Ylands scripting navbox