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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-09-24T18:36:53+00:00</updated>

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

		<entry>
		<author><name><![CDATA[yluo]]></name></author>
		<updated>2019-09-24T18:36:53+00:00</updated>

		<published>2019-09-24T18:36:53+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42402#p42402</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42402#p42402"/>
		<title type="html"><![CDATA[Set up Identity in btTransform]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42402#p42402"><![CDATA[
Hi everyone,<br><br>I'm wondering is there a difference between the two methods to assign an Identity to a btTransform variable? <br><br>I was reading the ConstraintDemo.cpp and noticed that, when creating a btRigidBody the code used:<div class="codebox"><p>Code: </p><pre><code>btTransform tr;tr.setIdentity();</code></pre></div>But when creating a frame for the constraint, the code used:<div class="codebox"><p>Code: </p><pre><code>btTransform frameInA;frameInA = btTransform::getIdentity();</code></pre></div>I'm wondering whether these two methods are interchangeable or one is preferred than the other under certain circumstances?<br><br>Thanks a lot!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13039">yluo</a> — Tue Sep 24, 2019 6:36 pm</p><hr />
]]></content>
	</entry>
	</feed>
