Script:rotate: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Stub}} This page describes the <code>spellcast</code> script command. Usage: rotate <pitch> <yaw> <roll> The provided pitch, yaw and roll values are added to the entity...") |
mNo edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{ScriptCommandPage | ||
|description=adjust the orientation | |||
|context=any | |||
|parameters= | |||
dpitch number* Delta to add to the pitch in degrees | |||
dyaw number* Delta to add to the yaw in degrees | |||
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. | |||
}} |
Latest revision as of 11:02, 17 June 2022
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 |