Tile - YAnimators - Set Rotation Animator – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
==== obj ==== | ==== obj ==== | ||
Target object | |||
==== rotationAnimator ==== | ==== rotationAnimator ==== | ||
New animator | |||
==== timeOffset ==== | ==== timeOffset ==== | ||
Animator movement offset (seconds) | |||
=== Availability === | |||
[[Ylands:Tile Availability - Server|Server]] | |||
=== Description === | === Description === | ||
Allows to assign ''rotation animator'' to selected object. | |||
Revision as of 12:16, 12 November 2021
Set Rotation Animator(Object, Rotation animator, Time offset)
static setRotationAnimator(obj: YEntity | YLogic | YGroup, rotationAnimator: YRotationAnimator, timeOffset: number): void;
Parameters
obj
Target object
rotationAnimator
New animator
timeOffset
Animator movement offset (seconds)
Availability
Description
Allows to assign rotation animator to selected object.