Tile - YEntity - Transform Rotation – Ylands

From Bohemia Interactive Community
Revision as of 08:52, 8 July 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Transform Rotation(Entity, Offset) == File:Y...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Transform Rotation(Entity, Offset)

YlandsTile-144.png

transformRotation(offset: YVector3): YVector3;

Parameters

offset

Returns

YVector3

Description

Returns new rotation which is offset to target entity rotation (local space).

Notes

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