Script:rotate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{ScriptCommandPage | |||
|description=adjust the orientation of the entity | |||
|parameters= | |||
pitch number Delta to add to the pitch | |||
yaw number Delta to add to the yaw | |||
roll number Delta to add to the roll | |||
|intro=This command has no effect on the player entity as the angle is overwritten each frame. | |||
}} | |||
| | |||
This command has no effect on the player entity as the angle is overwritten each frame. | |||
Revision as of 16:27, 15 April 2020
The rotate
script command is used to adjust the orientation of the entity. This command has no effect on the player entity as the angle is overwritten each frame.
Usage
rotate <pitch> <yaw> <roll>
Context: Ignored
Parameters:
Parameter | Type | Description |
---|---|---|
pitch |
number or variable |
Delta to add to the pitch |
yaw |
number or variable |
Delta to add to the yaw |
roll |
number or variable |
Delta to add to the roll |