<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Any way to turn off physics torq or movement on an axis?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=714&amp;type=atom"/>
	<updated>2013-08-02T00:10:36Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=714</id>
		<entry>
			<title type="html"><![CDATA[Re: Any way to turn off physics torq or movement on an axis?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4500#p4500"/>
			<content type="html"><![CDATA[<p>If you set the linearFactor &#039;z&#039; to zero the physics will be 2d in translation.<br />For the rotation as I said it should work with a constraint, you can also reset one rotation axis to zero every frame in lua.</p><p>But yes I&#039;ll see if there is a way to enable per-axis angularFactor with bullet, if yes it won&#039;t be complicated to add.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-02T00:10:36Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4500#p4500</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Any way to turn off physics torq or movement on an axis?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4498#p4498"/>
			<content type="html"><![CDATA[<p>That&#039;s unfortunate. The game I&#039;m making is a 3d game played like a 2d game. That alone knocks out at least 3 of my game ideas. Is there any way to make a 2d style 3d game without having to edit source? I&#039;ve done c++ before but I&#039;d rather not.<br />Hopefully locking certain axis is on the todo list.</p>]]></content>
			<author>
				<name><![CDATA[g1i1ch]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=658</uri>
			</author>
			<updated>2013-08-01T16:01:20Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4498#p4498</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Any way to turn off physics torq or movement on an axis?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4496#p4496"/>
			<content type="html"><![CDATA[<p>You can only lock torque on all axis with &quot;angularFactor&quot;<br />if you want to lock only one axis you need a constraint with a parent and an angular limit like :</p><p>AngularLimits<br />lox 0<br />loy 0<br />loz -180<br />upx 0<br />upy 0<br />upz 180</p><p>but you need to be clever with how you setup the parent if you don&#039;t want the parent to influence the collision shape,<br />also axis are local so be sure your parent orientation is like you want.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-01T09:50:28Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4496#p4496</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Any way to turn off physics torq or movement on an axis?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4494#p4494"/>
			<content type="html"><![CDATA[<p>I guess the title says it all. I&#039;d like some objects locked to the Z axis, but I&#039;m pretty sure it&#039;s not in the properties tag.</p>]]></content>
			<author>
				<name><![CDATA[g1i1ch]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=658</uri>
			</author>
			<updated>2013-08-01T06:05:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4494#p4494</id>
		</entry>
</feed>
