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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-06-28T10:16:34+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Eltharyon]]></name></author>
		<updated>2006-06-28T10:16:34+00:00</updated>

		<published>2006-06-28T10:16:34+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1240#p1240</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1240#p1240"/>
		<title type="html"><![CDATA[Kinematic Objects?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1240#p1240"><![CDATA[
I was simply wondering whether my approach of moving kinematic objects (which I understand are simply physics objects set to be static?) by directly changing their motion state was appropriate. The animated object IS intended to knock objects down, but I didn't want it to get knocked down itself.<br><br><blockquote class="uncited"><div>Do you have a stripped version of your terrain code, that can be included in Bullet? </div></blockquote>I do, I've been intending to upload a demo including the source code for days, but I've been distracted.<br><br>Do you have a preferred way of receiving the source code? E-mail? <br><br>Robin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=575">Eltharyon</a> — Wed Jun 28, 2006 10:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-06-27T18:01:12+00:00</updated>

		<published>2006-06-27T18:01:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1237#p1237</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1237#p1237"/>
		<title type="html"><![CDATA[Kinematic Objects?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1237#p1237"><![CDATA[
What is your issue exactly? There is build-in support for kinematic/static objects that are moved by the user. The angular/linear velocity is automatically calculated, see <br><div class="codebox"><p>Code: </p><pre><code>boolCcdPhysicsController::SynchronizeMotionStates(float time)</code></pre></div>However, this doesn't prevent things like a character control pushing through dynamic objects, because the kinematic objects has 'infinite mass'.<blockquote class="uncited"><div>Bullet is very neat in that it is very flexible, but I sometimes get lost in the source code </div></blockquote>Indeed, it would be good to cleanup some code, especially the CcdPhysicsEnvironment and the sample code. Can you point to locations that are most urgently needing cleanup?<br><br>Do you have a stripped version of your terrain code, that can be included in Bullet?<br><br>Thanks,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Tue Jun 27, 2006 6:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Eltharyon]]></name></author>
		<updated>2006-06-27T16:12:20+00:00</updated>

		<published>2006-06-27T16:12:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1236#p1236</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1236#p1236"/>
		<title type="html"><![CDATA[Kinematic Objects?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1236#p1236"><![CDATA[
Hi again,<br><br>my use of bullet continues and so do my questions.<br><br>I've been experimenting with animated objects, that is to say an object (like a character) which is moving without regard for physics, but objects in its way are pushed away appropriately.<br><br>I'd very much like these states to be switchable. I'm currently using the following approach:<br><br>While the object is animated it is set to be static (CollisionObject::isStatic flag), but when it is switched to physics activated the static flag is removed. I am "animating" the object by directly writing to the motion state. In order to prevent objects from failing to collide I'm activating it when changing states.<br><br>This approach currently produces reasonable results (at least in the demo I was making), but I am wondering whether there is a different way of dealing with animations. Am I missing something? Bullet is very neat in that it is very flexible, but I sometimes get lost in the source code <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>Cheers,<br><br>Robin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=575">Eltharyon</a> — Tue Jun 27, 2006 4:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
