Script:rotate: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}
{{ScriptCommandPage
{{ScriptCommandPage
|description=adjust the orientation of the entity
|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

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 <pitch> <yaw> <roll>

Context: Any Entity

Parameters:

ParameterTypeDescription
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