Tile - YEntity - Transform Rotation – Ylands
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
--> | --> | ||
== Transform Rotation(Entity, Offset) == | == Transform Rotation(Entity, Offset) == | ||
<pre>transformRotation(offset: YVector3): YVector3;</pre> | <pre>transformRotation(offset: YVector3): YVector3;</pre> |
Revision as of 16:47, 1 December 2022
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.