Tile - YAnimators - Aim To – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
*'''Target offset''' defines offset of the '''aimed''' position. Further defined by the '''relative offset''' option.
*'''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.
*'''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.
*'''Angle to start/stop''' work similarly as '''distance to start/stop''' in [[Ylands Tile - Follow object|'''Follow object''']] animation script tile.
*'''Axis''' options define, if the aiming rotation happens around selected axis.
*'''Axis''' options define, if the aiming rotation happens around selected axis.



Revision as of 09:56, 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 script tile.
  • Axis options define, if the aiming rotation happens around selected axis.

Template:Ylands scripting navbox