Model:setNodePosition
EditSets or blends the position of a node. This sets the local position of the node, relative to its parent.
Arguments
| Name | Type | Default | Description |
| node | string | number | The name or index of a node. | |
| x | number | The x coordinate of the new position. | |
| y | number | The y coordinate of the new position. | |
| z | number | The z coordinate of the new position. | |
| blend | number | 1.0 | A number from 0 to 1 indicating how much of the new position to blend in. A value of 0 will not change the node's position at all, whereas 1 will fully blend to the target position. |
Returns
Nothing
Arguments
| Name | Type | Default | Description |
| node | string | number | The name or index of a node. | |
| position | vector | The new position. | |
| blend | number | 1.0 | A number from 0 to 1 indicating how much of the new position to blend in. A value of 0 will not change the node's position at all, whereas 1 will fully blend to the target position. |
Returns
Nothing