<?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/2333" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2008-07-08T11:48:48+00:00</updated>

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

		<entry>
		<author><name><![CDATA[bindumol]]></name></author>
		<updated>2008-07-08T11:48:48+00:00</updated>

		<published>2008-07-08T11:48:48+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=9155#p9155</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=9155#p9155"/>
		<title type="html"><![CDATA[Transformation based on  another body's axis]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=9155#p9155"><![CDATA[
Hi all,<br> I am  trying an application which uses Irrlicht and bullet physics. I want to rotate a group of bodies based on one axis, which is the axis for the transform at the time of creation, now i want to group another set of bodies and it should be rotate with axis of one body..<br>irr::core::aabbox3d&lt;irr::f32&gt; tt;<br>tt = mSceneNode-&gt;getTransformedBoundingBox();   <br>vector3df vec;<br>vec = tt.getCenter();<br>mTPosition1.setX(vec.X);<br>mTPosition1.setY(vec.Y);<br>mTPosition1.setZ(vec.Z);<br><br>trans = body2-&gt;getWorldTransform();<br>trans.setOrigin(mTPosition1);//Not sets the actual one <br>trans.setRotation(btQuaternion(btVector3(1,0,0), (btScalar)i*0.0174));<br>body2-&gt;proceedToTransform(trans);<br>Please help me................<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2430">bindumol</a> — Tue Jul 08, 2008 11:48 am</p><hr />
]]></content>
	</entry>
	</feed>
