Tile - YAnimators - Set Rotation Animator – Ylands

From Bohemia Interactive Community
Revision as of 11:16, 12 November 2021 by YlandsClassyBot (talk | contribs)
Jump to navigation Jump to search

Set Rotation Animator(Object, Rotation animator, Time offset)

YlandsTile-601.png

static setRotationAnimator(obj: YEntity | YLogic | YGroup, rotationAnimator: YRotationAnimator, timeOffset: number): void;

Parameters

obj

Target object

rotationAnimator

New animator

timeOffset

Animator movement offset (seconds)

Availability

Server

Description

Allows to assign rotation animator to selected object.