Tile - YLogic - Transform Rotation – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with " ---- {{Ylands scripting navbox}}")
 
No edit summary
Line 1: Line 1:
[[Image:Ylands_Tile_-_Transform_position.png]]
*Returns new '''position''' which is '''offset''' relative to target position and orientation.
*Example: offset "1 0 0" will return position one meter in front of target entity.


[[Image:Ylands_Tile_-_Transform_rotation.png]]
*Returns new '''rotation''' which is '''offset''' to target entity rotation.
*Offset is set in '''angle''' format of '''0-360 deg'''.
*Example: offset "0 180 0" will return backwards orientation from target entity.




----
----
{{Ylands scripting navbox}}
{{Ylands scripting navbox}}

Revision as of 13:34, 6 December 2018

Ylands Tile - Transform position.png

  • Returns new position which is offset relative to target position and orientation.
  • Example: offset "1 0 0" will return position one meter in front of target entity.


Ylands Tile - Transform rotation.png

  • Returns new rotation which is offset to target entity rotation.
  • Offset is set in angle format of 0-360 deg.
  • Example: offset "0 180 0" will return backwards orientation from target entity.



Template:Ylands scripting navbox