GetObjectRotation: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
{{Info|Function|Server & Client|1.0}}
{{Info|Function|Server & Client|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Gets the object rotation.}}


{{FuncSyntax|GetObjectRotation(object)}}
{{FuncSyntax|GetObjectRotation(object)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|object|__EDIT_ME__}}
{{FuncParam|object|The object identifier.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|Returns 3 float values: pitch, yaw and roll}}


== Example ==
== Example ==

Revision as of 10:46, 1 September 2020

GetObjectRotation

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Gets the object rotation.

Syntax

GetObjectRotation(object)

Parameters

  • object
    The object identifier.

Return Value

  • Returns 3 float values: pitch, yaw and roll

Example

__EDIT_ME__

See also