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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2011-10-22T08:58:07+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Dr.Shepherd]]></name></author>
		<updated>2011-10-22T08:58:07+00:00</updated>

		<published>2011-10-22T08:58:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25936#p25936</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25936#p25936"/>
		<title type="html"><![CDATA[Re: static object appear at 0,0,0 always]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25936#p25936"><![CDATA[
I suppose you write your own motionstate class:<div class="codebox"><p>Code: </p><pre><code>    MyMotionState* motionState1 = new MyMotionState( groundTransform1,wall1[k] ); </code></pre></div>Did you check if it works ?<br><br>Why not just use btDefaultMotionState:<div class="codebox"><p>Code: </p><pre><code>btDefaultMotionState* myMotionState = new btDefaultMotionState(startTransform);btRigidBody::btRigidBodyConstructionInfo rbInfo(mass,myMotionState,colShape,localInertia);btRigidBody* body = new btRigidBody(rbInfo);</code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7605">Dr.Shepherd</a> — Sat Oct 22, 2011 8:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[JohnBoyMan]]></name></author>
		<updated>2011-10-22T01:09:51+00:00</updated>

		<published>2011-10-22T01:09:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25933#p25933</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25933#p25933"/>
		<title type="html"><![CDATA[static object appear at 0,0,0 always]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25933#p25933"><![CDATA[
hello i am trying to make a static object like thus.<div class="codebox"><p>Code: </p><pre><code>btVector3 localInertia8(0,0,0);btTransform localTrans;localTrans.setIdentity();    btTransform groundTransform1;    groundTransform1.setIdentity();        btScalar mass1( 0 );//bool isDynamic8 = ( mass1 != 0.f );  btVector3 localInertia( 0,0,0 );//if ( isDynamic8 )    //colShape-&gt;calculateLocalInertia( mass1,localInertia );groundTransform1.setOrigin(btVector3(BtOgre::Convert::toBullet( mW[k] + Ogre::Vector3(0,6,0 ))));    MyMotionState* motionState1 = new MyMotionState( groundTransform1,wall1[k] );     btRigidBody::btRigidBodyConstructionInfo rbInfoo( mass1,motionState1,colShape1[k],localInertia );    body6[k] = new btRigidBody( rbInfoo );body6[k]-&gt;setFriction( 1.0f ); </code></pre></div>The problem  is that the body always appears at 0,0,0 in my game. I cant get around it. and rays dont hit it either wats going on thanks<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8343">JohnBoyMan</a> — Sat Oct 22, 2011 1:09 am</p><hr />
]]></content>
	</entry>
	</feed>
