Tile - YLogic - Rotation – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
--> | --> | ||
== Rotation == | == Rotation == | ||
<pre>get rotation(): YVector3; | <pre>get rotation(): YVector3; |
Revision as of 16:47, 1 December 2022
Rotation
get rotation(): YVector3; set rotation(value: YVector3);
Availability
Description
Allows to get / set rotation of target game logic. When using Set Rotation, the game logic will immediately go to that rotation, unlike using a Rotation Animator.
Notes
- To set rotation / position / scale of Trigger Zone, it has to be set to "animated".
- Animated Trigger Zones cannot react to any animal/monster, any item, any npc, any projectile, or entity type (technical limitations). All other trigger groups still function.