Script:rotate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
|context=any | |context=any | ||
|parameters= | |parameters= | ||
dpitch number Delta to add to the pitch | dpitch number Delta to add to the pitch in degrees | ||
dyaw number Delta to add to the yaw | dyaw number Delta to add to the yaw in degrees | ||
droll number Delta to add to the roll | droll number Delta to add to the roll in degrees | ||
|intro=This command has no effect on the player entity as the angle is overwritten each frame. | |intro=This command has no effect on the player entity as the angle is overwritten each frame. | ||
}} | }} |
Revision as of 17:00, 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 <dpitch> <dyaw> <droll>
Context: Any Entity
Parameters:
Parameter | Type | Description |
---|---|---|
dpitch |
number or variable |
Delta to add to the pitch in degrees |
dyaw |
number or variable |
Delta to add to the yaw in degrees |
droll |
number or variable |
Delta to add to the roll in degrees |