<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/2623" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2008-09-20T01:40:23+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/2623</id>

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2008-09-20T01:40:23+00:00</updated>

		<published>2008-09-20T01:40:23+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10503#p10503</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10503#p10503"/>
		<title type="html"><![CDATA[Re: Maya Strenge Rotation when using Rigidbody Active]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10503#p10503"><![CDATA[
It is a known Dynamica bug, and is on the todo list to be fixed:<br><br><a href="http://code.google.com/p/bullet/issues/detail?id=103" class="postlink">http://code.google.com/p/bullet/issues/detail?id=103</a><br><br>Thanks for the report,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Sep 20, 2008 1:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[smallpixel]]></name></author>
		<updated>2008-09-17T00:50:41+00:00</updated>

		<published>2008-09-17T00:50:41+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10445#p10445</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10445#p10445"/>
		<title type="html"><![CDATA[Maya Strenge Rotation when using Rigidbody Active]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=10445#p10445"><![CDATA[
Hi freind, i think that maya user have notice the strange translation and rotation that happen when we convert object to Rigidbody,<br>i have created a script but it want work cause the object newly created a maded to 0 0 0 on every think so if any can help plz.<br><br>if any one can chek the script or test it plz<br><br><br>//Get The selection <br>string $mySelection[] = `ls -sl`;<br>string $selectionRB;<br><br>//Translation Scaling Rotation Variable Declaration<br>float $transX ;<br>float $transY ;<br>float $transZ ;<br><br>float $rotX ;<br>float $rotY ;<br>float $rotZ ;<br><br>float $scaleX ;<br>float $scaleY ;<br>float $scaleZ ;<br>int $z=1;<br><br>//Get the number of selected object<br>float $numSelection = `size ($mySelection)`;<br><br>//Get Intial Rot Pos Scale Stored into those Var and the convert the object to RB and restore the Initial Pause<br>for ($i=0;$i&lt;$numSelection;$i++)<br>{<br><br>//Initialising all Var to zero<br>$transX = 0;<br>$transY = 0;<br>$transZ = 0;<br>$rotX   = 0;<br>$rotY   = 0;<br>$rotZ   = 0;<br>$scaleX = 0;<br>$scaleY = 0;<br>$scaleZ = 0;<br><br>//Get Position XYZ stored<br>$transX = `getAttr ($mySelection[$i]+".translateX")`;<br>$transy = `getAttr ($mySelection[$i]+".translateY")`;<br>$transy = `getAttr ($mySelection[$i]+".translateZ")`;<br><br>//Get Rotation XYZ stored<br>$rotX = `getAttr ($mySelection[$i]+".rotateX")`;<br>$roty = `getAttr ($mySelection[$i]+".rotateY")`;<br>$roty = `getAttr ($mySelection[$i]+".rotateZ")`;<br><br>//Get Scale XYZ stored<br>$scaleX = `getAttr ($mySelection[$i]+".scaleX")`;<br>$scaleY = `getAttr ($mySelection[$i]+".scaleY")`;<br>$scaleZ = `getAttr ($mySelection[$i]+".scaleZ")`;<br><br>//Convert Object To Bubble RigidBody<br>dynamicaUI_createActiveMeshRB;<br><br>//Restore the inital State of the translate<br>setAttr (("dRigidBody"+$z)  + ".translateX") $transX;<br>setAttr (("dRigidBody"+$z)  + ".translateY") $transY;<br>setAttr (("dRigidBody"+$z)  + ".translateZ") $transZ;<br><br>//Restore the inital State of the Rotation<br>setAttr (("dRigidBody"+$z)  + ".rotateX") $rotX;<br>setAttr (("dRigidBody"+$z)  + ".rotateY") $rotY;<br>setAttr (("dRigidBody"+$z)  + ".rotateZ") $rotZ;<br><br>//Restore the inital State of the Scale<br>setAttr (("dRigidBody"+$z)  + ".scaleX") $scaleX;<br>setAttr (("dRigidBody"+$z)  + ".scaleY") $scaleY;<br>setAttr (("dRigidBody"+$z)  + ".scaleZ") $scaleZ;<br><br>$z+=1;<br><br>}<br><br><br>actualy the script may crash some time,this is made to be used with all selected object in one time.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2745">smallpixel</a> — Wed Sep 17, 2008 12:50 am</p><hr />
]]></content>
	</entry>
	</feed>
