Tile - YEntity - Transform Rotation – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 31: | Line 31: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:27, 24 November 2023
Transform Rotation(Entity, Offset)
transformRotation(offset: YVector3): YVector3;
Parameters
offset
Desired offset (vector)
Returns
YVector3
Availability
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.