Script:rotate: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{ScriptCommandPage | {{ScriptCommandPage | ||
|description=adjust the orientation | |description=adjust the orientation | ||
|context=any | |||
|parameters= | |parameters= | ||
pitch number Delta to add to the pitch | pitch number Delta to add to the pitch |
Revision as of 16:57, 15 April 2020
The rotate
script command is used to adjust the orientation for an entity. This command has no effect on the player entity as the angle is overwritten each frame.
Usage
rotate <pitch> <yaw> <roll>
Context: Any Entity
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 |