Tile - YLogic - Rotation – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Rotation == File:YlandsTile-273-get.png...")
 
No edit summary
Line 10: Line 10:
<pre>get rotation(): YVector3;
<pre>get rotation(): YVector3;
set rotation(value: YVector3);</pre>
set rotation(value: YVector3);</pre>
=== Availability ===
[[Ylands:Tile Availability - Server|Server]]
=== Description ===
=== Description ===



Revision as of 12:16, 12 November 2021

Rotation

YlandsTile-273-get.png

YlandsTile-273-set.png

get rotation(): YVector3;
set rotation(value: YVector3);

Availability

Server

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.