Script:rotate: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 4: Line 4:
|context=any
|context=any
|parameters=
|parameters=
pitch number Delta to add to the pitch
dpitch number Delta to add to the pitch
yaw number Delta to add to the yaw
dyaw number Delta to add to the yaw
roll number Delta to add to the roll
droll number Delta to add to the roll
|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 16:58, 15 April 2020

This article is a stub - you can help by expanding it. See the Wiki FAQ.

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:

ParameterTypeDescription
dpitch number or variable Delta to add to the pitch
dyaw number or variable Delta to add to the yaw
droll number or variable Delta to add to the roll