SetObjectRotateAxis: Difference between revisions
From Onset Developer Wiki
No edit summary |
FlyingFork (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription|Sets the object | {{FuncDescription|Sets the object to rotate around its own axis.}} | ||
{{FuncSyntax|SetObjectRotateAxis(object, x, y, z)}} | {{FuncSyntax|SetObjectRotateAxis(object, x, y, z)}} | ||
Line 14: | Line 14: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
SetObjectRotateAxis(object, 90, 90, 90) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:ObjectFunctions}} | {{Template:ObjectFunctions}} |
Latest revision as of 14:34, 26 June 2021
Description
Sets the object to rotate around its own axis.
Syntax
SetObjectRotateAxis(object, x, y, z)
Parameters
- object
The object identifier. - x
The X axis - y
The Y axis - z
The Z axis
Return Value
- __EDIT_ME__
Example
SetObjectRotateAxis(object, 90, 90, 90)
See also
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- GetObjectModel
- IsObjectStreamedIn
- EnableObjectStreamEvents
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
- GetObjectModelCount
- GetObjectMass
- GetStreamedObjects
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- SetObjectEditable
- SetObjectOutline
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture
- SetObjectCastShadow
- SetObjectDimension
- GetObjectActor
- GetAllObjects
- SetObjectModel