SetObjectRotateAxis: Difference between revisions

From Onset Developer Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Info|Function|Server|1.0}}
{{Info|Function|Server|1.0}}


{{FuncDescription|__EDIT_ME__}}
{{FuncDescription|Sets the object to rotate around its own axis.}}


{{FuncSyntax|SetObjectRotateAxis(object, x, y, z)}}
{{FuncSyntax|SetObjectRotateAxis(object, x, y, z)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|object|__EDIT_ME__}}
{{FuncParam|object|The object identifier.}}
{{FuncParam|x|__EDIT_ME__}}
{{FuncParam|x|The X axis}}
{{FuncParam|y|__EDIT_ME__}}
{{FuncParam|y|The Y axis}}
{{FuncParam|z|__EDIT_ME__}}
{{FuncParam|z|The Z axis}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|__EDIT_ME__}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
SetObjectRotateAxis(object, 90, 90, 90)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:ObjectFunctions}}
{{Template:ObjectFunctions}}

Latest revision as of 14:34, 26 June 2021