<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multitheftauto.com/wiki/PhysicsApplyAngularVelocity?action=history&amp;feed=atom</id>
	<title>PhysicsApplyAngularVelocity - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multitheftauto.com/wiki/PhysicsApplyAngularVelocity?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsApplyAngularVelocity&amp;action=history"/>
	<updated>2026-04-04T08:55:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://wiki.multitheftauto.com/index.php?title=PhysicsApplyAngularVelocity&amp;diff=65153&amp;oldid=prev</id>
		<title>CrosRoad95: Created page with &quot;__NOTOC__  {{Client function}} Applies angular velocity to rigid body  ==Syntax==  &lt;syntaxhighlight lang=&quot;lua&quot;&gt; bool physicsApplyVelocity( physics-rigid-body theRigidBody, flo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.multitheftauto.com/index.php?title=PhysicsApplyAngularVelocity&amp;diff=65153&amp;oldid=prev"/>
		<updated>2020-02-14T15:00:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__  {{Client function}} Applies angular velocity to rigid body  ==Syntax==  &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; bool physicsApplyVelocity( physics-rigid-body theRigidBody, flo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__ &lt;br /&gt;
{{Client function}}&lt;br /&gt;
Applies angular velocity to rigid body&lt;br /&gt;
&lt;br /&gt;
==Syntax== &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
bool physicsApplyVelocity( physics-rigid-body theRigidBody, float velocityX, float velocityY, float velocityZ)             &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===Required Arguments=== &lt;br /&gt;
*'''theRigidBody:''' rigid body you want to apply velocity&lt;br /&gt;
*'''velocityXYZ:''' angular velocity you wants to apply&lt;br /&gt;
&lt;br /&gt;
===Returns===&lt;br /&gt;
True if angular velocity got applied, false otherwise.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
&lt;br /&gt;
Spawn box and apply horizontal angular velocity.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local box = physicsCreateShape(physics, &amp;quot;box&amp;quot;, 1)&lt;br /&gt;
local boxrb = physicsCreateRigidBody(box)&lt;br /&gt;
physicsSetProperties(boxrb, &amp;quot;position&amp;quot;, 0,0,5)&lt;br /&gt;
physicsApplyAngularVelocity(boxrb, 0,0,10)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
{{Client_physics_functions}}&lt;/div&gt;</summary>
		<author><name>CrosRoad95</name></author>
	</entry>
</feed>