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
This page describes the <code>rotate</code> script command.
|description=adjust the orientation of the entity
 
|parameters=
Usage:
pitch number Delta to add to the pitch
 
yaw number Delta to add to the yaw
rotate <pitch> <yaw> <roll>
roll number Delta to add to the roll
 
|intro=This command has no effect on the player entity as the angle is overwritten each frame.
Parameters:
}}
{| class="wikitable sortable"
! Parameter
! Type
! Description
|-
| <code><pitch></code>
| {{real}}
| Value to add to the entity's pitch
|-
| <code><yaw></code>
| {{real}}
| Value to add to the entity's yaw
|-
| <code><roll></code>
| {{real}}
| Value to add to the entity's roll
|}
 
This command has no effect on the player entity as the angle is overwritten each frame.
 
[[Category:Script commands]]

Revision as of 16:27, 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 of the entity. This command has no effect on the player entity as the angle is overwritten each frame.

Usage

rotate <pitch> <yaw> <roll>

Context: Ignored

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