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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2010-01-31T09:25:02+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Flix]]></name></author>
		<updated>2010-01-31T09:25:02+00:00</updated>

		<published>2010-01-31T09:25:02+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17238#p17238</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17238#p17238"/>
		<title type="html"><![CDATA[Re: Hinge2Vehicle Demo (with source code)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17238#p17238"><![CDATA[
Here is a pic of the demo in action:<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=422" class="postimage" alt="HingeVehiclesDemo.JPG" onclick="viewableArea(this);" /></dt></dl></div>And this is a raytrace screenshot of the most complex wheel collision shape included in the demo (I named it btWheelShape AFAIR), added to show it better:<div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://pybullet.org/Bullet/phpBB3/download/file.php?id=424" class="postimage" alt="wheelShape2.JPG" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2180">Flix</a> — Sun Jan 31, 2010 9:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Flix]]></name></author>
		<updated>2010-01-31T09:19:57+00:00</updated>

		<published>2010-01-31T09:19:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17237#p17237</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17237#p17237"/>
		<title type="html"><![CDATA[Hinge2Vehicle Demo (with source code)]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=17237#p17237"><![CDATA[
<span style="color:#400000">WHAT'S THIS?</span><br><br>This is a demo about vehicles without raycasting.<br><br><br><span style="color:#400000">IMPLEMENTATION NOTES:</span><br><br>I used a btHinge2Constraint for the wheels, but I disabled the (vertical) suspension spring, because I couldn't find a good setting for it, and I replaced it with a vertical translational motor.<br>Thus now the suspension model is extremely simple, and raycast vehicles outperform this kind of vehicles easily.<br><br>Despite of this, I released this demo because:<br>1) There was no demo about it.<br>2) It can still be very useful for modelling very simple vehicles (e.g. toy vehicles).<br>3) Some particular kind of vehicles (such as trains) can probably be done better with this approach.<br>4) I've added a bunch of wheel collision shapes that can be used for other purposes too (e.g. in raycast vehicles with convex cast or just as collision shapes for wheel collision detection).<br><br><br><span style="color:#400000">KEYS:</span><br><br>CAMERA:<br>-------<br>HOME - change camera view<br>PAGE_UP / PAGE_DOWN - change camera distance<br><br>VEHICLES:<br>---------<br>END - change vehicle<br>ARROW KEYS - drive vehicle<br><br>GLOBAL INPUT SPEED:<br>--------------------<br>F1 / F2 - decrease / increase input speed to adjust it for your PC power.<br><br>All keys must be pressed while the openGL window has focus.<br><br><br><span style="color:#400000">PROBLEM:</span><br><br>The debug drawer doesn't seem to display (at least) one of my wheel collision shapes in a decent way.<br>No matter, I'm going to post a raytrace pic to show it better soon...<br><br><br>Hope you like it and find it useful.<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=421">Hinge2VehicleDemo.7z</a></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2180">Flix</a> — Sun Jan 31, 2010 9:19 am</p><hr />
]]></content>
	</entry>
	</feed>
