<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FFunctions%2FObject.RotateToEuler</id>
	<title>Scripting/Squirrel/Functions/Object.RotateToEuler - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vc-mp.org/index.php?action=history&amp;feed=atom&amp;title=Scripting%2FSquirrel%2FFunctions%2FObject.RotateToEuler"/>
	<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.RotateToEuler&amp;action=history"/>
	<updated>2026-04-28T00:04:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.RotateToEuler&amp;diff=20258&amp;oldid=prev</id>
		<title>NicusorN5: Created page with &quot;Rotates the specified object using a Vector.  ==Syntax== &lt;pre&gt;object.RotateToEuler(rotation,time)&lt;/pre&gt;  ==Arguments== &#039;&#039;Vector&#039;&#039; &#039;&#039;&#039;rotation&#039;&#039;&#039; - Rotation in Euler angles sys...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.vc-mp.org/index.php?title=Scripting/Squirrel/Functions/Object.RotateToEuler&amp;diff=20258&amp;oldid=prev"/>
		<updated>2019-06-02T11:37:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Rotates the specified object using a Vector.  ==Syntax== &amp;lt;pre&amp;gt;object.RotateToEuler(rotation,time)&amp;lt;/pre&amp;gt;  ==Arguments== &amp;#039;&amp;#039;Vector&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rotation&amp;#039;&amp;#039;&amp;#039; - Rotation in Euler angles sys...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Rotates the specified object using a Vector.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;pre&amp;gt;object.RotateToEuler(rotation,time)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arguments==&lt;br /&gt;
&amp;#039;&amp;#039;Vector&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;rotation&amp;#039;&amp;#039;&amp;#039; - Rotation in Euler angles system. &amp;#039;&amp;#039;&amp;#039;Be aware that this method uses radians instead of degrees.&amp;#039;&amp;#039;&amp;#039; For a example to rotate an object 90 degrees around an axis use &amp;lt;pre&amp;gt;Vector(0,0,3.1415926 /2)&amp;lt;/pre&amp;gt; Plase be aware that the y and z coordinates in VC&amp;#039;s engine are somewhat switched. If you are used to degrees, use a [https://www.rapidtables.com/convert/number/radians-to-degrees.html| Radians to degrees calculator]&lt;br /&gt;
&amp;#039;&amp;#039;int&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;time&amp;#039;&amp;#039;&amp;#039; - Time in milisecond how fast the object will move. For map-making use 0.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&amp;lt;pre&amp;gt;object.RotateToEuler(Vector(0,0,3.1415926 /4)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related Functions ==&lt;br /&gt;
&lt;br /&gt;
{{Scripting/Squirrel/Functions/Object_Functions}}&lt;br /&gt;
[[Category:Scripting/Squirrel/Functions/Object_Functions]]&lt;/div&gt;</summary>
		<author><name>NicusorN5</name></author>
	</entry>
</feed>