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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-06-18T07:02:54+00:00</updated>

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

		<entry>
		<author><name><![CDATA[playrt]]></name></author>
		<updated>2022-06-18T07:02:54+00:00</updated>

		<published>2022-06-18T07:02:54+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44038#p44038</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44038#p44038"/>
		<title type="html"><![CDATA[Re: btRgidBody goes to deactivation state seconds after application starts, no matter what.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44038#p44038"><![CDATA[
Here is the problem :<br><br>ogre 13.4.0 precompiled sdk doesnt provide bullet lib, so i had to download a separate bullet from github, the problem is that i linked this version and it had invisible issues that didnt show up at compilation.<br><br>downloading ogre source, using cmake it downloads dependencies including the correct bullet version, and it solved my problem.<br><br>That's insane because most bullet features were working except that activation function.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14352">playrt</a> — Sat Jun 18, 2022 7:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[playrt]]></name></author>
		<updated>2022-06-17T07:11:36+00:00</updated>

		<published>2022-06-17T07:11:36+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44037#p44037</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44037#p44037"/>
		<title type="html"><![CDATA[btRgidBody goes to deactivation state seconds after application starts, no matter what.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44037#p44037"><![CDATA[
Hi,<br><br>using bullet3-master branch on github, compiled, and linked to my ogre3d project using their OgreBullet utils.<br><br>Im trying to avoid the rigidbody capsule to go to permafrost<br><br>Youtube video : <a href="https://www.youtube.com/watch?v=-s8bJ-qcS5Y" class="postlink">https://www.youtube.com/watch?v=-s8bJ-qcS5Y</a><br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1938" class="postimage" alt="rigidbody_state_frozen.gif" onclick="viewableArea(this);" /></dt></dl></div><br>Now when i create the rigid body i specify<br><div class="codebox"><p>Code: </p><pre><code>sinbadBody-&gt;setActivationState(DISABLE_DEACTIVATION);</code></pre></div>This is executed when i press a key, even i added it to the rendering loop, changes absolutely nothing.<br><div class="codebox"><p>Code: </p><pre><code>sinbadBody-&gt;setActivationState(4);sinbadBody-&gt;forceActivationState(4);sinbadBody-&gt;activate(true);</code></pre></div>rigidbody keeps going to state 2, after a few seconds, and cant interact anymore with it.<br>There is no way to change the state once it was changed to 2.<br><br><br>I display the activation state, no matter what i do, once it is set to 2 it is not changing to anything else. Highlighted in red box on the screenshot.<br><div class="codebox"><p>Code: </p><pre><code>ImGui::Text("Sinbad state : %i", sinbadBody-&gt;getActivationState());</code></pre></div><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=1936" class="postimage" alt="rigidbody_state_change_problem.png" onclick="viewableArea(this);" /></dt></dl></div><br>I also tried removing/re-adding the rigidbody to the world, it remains in the same state. lol. how is this supposed to work ?<br>This is just the simplest rigibody sample i could find, and all i get is permafrost.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14352">playrt</a> — Fri Jun 17, 2022 7:11 am</p><hr />
]]></content>
	</entry>
	</feed>
