<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SetEntityAngle</id>
		<title>SetEntityAngle - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=SetEntityAngle"/>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=SetEntityAngle&amp;action=history"/>
		<updated>2026-04-03T22:34:16Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://oxeyegames.com/wiki/index.php?title=SetEntityAngle&amp;diff=408&amp;oldid=prev</id>
		<title>Jeb: Created page with '{{PhysicsMethod| physics:setEntityAngle(entityId, angle) | Forces the entity's body angle to be set to a certain value. Works even if the body's definition has set fixedRotation....'</title>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=SetEntityAngle&amp;diff=408&amp;oldid=prev"/>
				<updated>2010-02-07T12:29:23Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{PhysicsMethod| physics:setEntityAngle(entityId, angle) | Forces the entity&amp;#39;s body angle to be set to a certain value. Works even if the body&amp;#39;s definition has set fixedRotation....&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PhysicsMethod|&lt;br /&gt;
physics:setEntityAngle(entityId, angle)&lt;br /&gt;
|&lt;br /&gt;
Forces the entity's body angle to be set to a certain value. Works even if the body's definition has set fixedRotation.&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|entityId|An integer|The body id number of the entity.}}&lt;br /&gt;
{{MethodParam|angle|A number|The new body angle, in radians.}}&lt;br /&gt;
|&lt;br /&gt;
Returns nothing.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   local o = createObstacle(-4, 2.5, 2, 3, .3)&lt;br /&gt;
   myPhysics:setEntityAngle(o.body, math.pi * .3)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeb</name></author>	</entry>

	</feed>