Tile - YLogic - Transform Rotation – Ylands
Jump to navigation
Jump to search
No edit summary |
m (Minor note to highlight model space being used) |
||
Line 1: | Line 1: | ||
[[Image:Ylands_Tile_-_Transform_position.png]] | [[Image:Ylands_Tile_-_Transform_position.png]] | ||
*Returns new '''position''' which is '''offset''' relative to target position and orientation. | *Returns new '''position''' which is '''offset''' relative to target position and orientation (entity model space). | ||
*Example: offset "1 0 0" will return position one meter in front of target entity. | *Example: offset "1 0 0" will return position one meter in front of target entity. | ||
[[Image:Ylands_Tile_-_Transform_rotation.png]] | [[Image:Ylands_Tile_-_Transform_rotation.png]] | ||
*Returns new '''rotation''' which is '''offset''' to target entity rotation. | *Returns new '''rotation''' which is '''offset''' to target entity rotation (entity model space). | ||
*Offset is set in '''angle''' format of '''0-360 deg'''. | *Offset is set in '''angle''' format of '''0-360 deg'''. | ||
*Example: offset "0 180 0" will return backwards orientation from target entity. | *Example: offset "0 180 0" will return backwards orientation from target entity. |
Revision as of 09:02, 4 October 2019
- Returns new position which is offset relative to target position and orientation (entity model space).
- Example: offset "1 0 0" will return position one meter in front of target entity.
- Returns new rotation which is offset to target entity rotation (entity model space).
- Offset is set in angle format of 0-360 deg.
- Example: offset "0 180 0" will return backwards orientation from target entity.