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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-07-24T17:11:13+00:00</updated>

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

		<entry>
		<author><name><![CDATA[ShravanTata]]></name></author>
		<updated>2019-07-24T17:11:13+00:00</updated>

		<published>2019-07-24T17:11:13+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42285#p42285</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42285#p42285"/>
		<title type="html"><![CDATA[Pybullet world to local coordinate transfer]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=42285#p42285"><![CDATA[
Hi Everyone,<br><br>  I am trying to convert some global coordinates defined in a link into its local coordinate system. <br>This issue was raised earlier in [<a href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=8881" class="postlink">viewtopic.php?t=8881</a>].<br><br>Like in the example code below, is there also a python API for the same? Especially getCenterOfMassTransform().inverse()<br><div class="codebox"><p>Code: </p><pre><code>btVector3 RagdollDemo::pointWorldToLocal(int bodyIndex, btVector3 worldPoint){        return body[bodyIndex]-&gt;getCenterOfMassTransform().inverse()(worldPoint);}</code></pre></div>Thank you,<br>Shravan<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13358">ShravanTata</a> — Wed Jul 24, 2019 5:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
