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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2017-12-11T19:26:12+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2017-12-11T19:26:12+00:00</updated>

		<published>2017-12-11T19:26:12+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40219#p40219</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40219#p40219"/>
		<title type="html"><![CDATA[Re: Questions about pybullet use in videogame]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40219#p40219"><![CDATA[
PyBullet uses Bullet C++ under the hood. As long as you don't use many python calls before/after each 'stepSimulation' performance should be the same. Note that PyBullet is configured for VR, robotics and RL by default, with a small timestep (1./240) and a large number of solver iterations (50) by default. You can configure this to be similar to regular game settings (60 Hertz, and 10 iterations).<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Mon Dec 11, 2017 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[deepcode]]></name></author>
		<updated>2017-12-10T01:03:27+00:00</updated>

		<published>2017-12-10T01:03:27+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40209#p40209</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40209#p40209"/>
		<title type="html"><![CDATA[Re: Questions about pybullet use in videogame]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40209#p40209"><![CDATA[
I think it would be great if we had pybullet vs bullet  benchmarks to show people the performance differences. I can take a stab at it.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12337">deepcode</a> — Sun Dec 10, 2017 1:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2017-12-06T15:17:30+00:00</updated>

		<published>2017-12-06T15:17:30+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40193#p40193</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40193#p40193"/>
		<title type="html"><![CDATA[Re: Questions about pybullet use in videogame]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40193#p40193"><![CDATA[
<blockquote class="uncited"><div>Hi,<br>long time lurker and first time poster <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>Welcome!<blockquote class="uncited"><div>I have a few questions regarding pybullet and how it can be used with the recent C# bindings that make it possible to connect to a Bullet server within the Unity3d game engine, makes for interesting possibilities!<br><br>1) If we wanted to simulate collidable terrain, would we have to generate the geometry elsewhere and import it as a mesh to then generate colliders? Would that be extremely slow to simulate in a large environment? Is there a better solution to create collidable terrain with pybullet?</div></blockquote>Possibly, but why would it be slow? pybullet is all C++ under the hood, using acceleration structures. We can add some optimizations if needed, preloading or streaming large worlds if there is strong demand or a pull request.<blockquote class="uncited"><div>2) Are there any known drawbacks or bottlenecks when using pybullet in terms of performance? I'd presume the simulation aspect is as fast as Bullet can be, as it's on its own server, however concerns are around the time it takes to talk between server/client and whether we'd be better off implementing Bullet directly (which would most likely imply moving away from Unity3d)</div></blockquote>You should be able to use any graphics engine with pybullet. If synchronization of rigid body transforms becomes a bottleneck (unlikely but possible), we can work on that.<blockquote class="uncited"><div>3) I'm mostly interested in pybullet because of its multiBody approach, as well as all the machine learning and robotics stuff, which tie in perfectly with a game design prototype we'd like to work on, however I'm wondering if implementing Bullet directly, and not using pybullet, is a more reasonable approach, not clear however how much of the machine learning and AI stuff belongs to pybullet and how much is part of the latest Bullet itself.</div></blockquote>It is a large amount of work reproducing all the pybullet / URDF to btMultiBody robotics/RL features, so why not evaluate it first?<br>pybullet is all written in C/C++ and the idea is that synchronizing between C++ and python/C# is not too frequent/costly.<br>All pybullet features are also exposed through the C-API.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed Dec 06, 2017 3:17 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[hyyou]]></name></author>
		<updated>2017-11-06T10:05:36+00:00</updated>

		<published>2017-11-06T10:05:36+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40145#p40145</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40145#p40145"/>
		<title type="html"><![CDATA[Re: Questions about pybullet use in videogame]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40145#p40145"><![CDATA[
Because no one answer ... <br><br>I am pretty sure that C++ Bullet is faster than its derivatives.<br><br>In practice, especially game, C++ itself is generally faster than python.<br>It is a reason that I lack knowledge to answer most of your questions.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11659">hyyou</a> — Mon Nov 06, 2017 10:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[patrick_c]]></name></author>
		<updated>2017-11-01T00:22:51+00:00</updated>

		<published>2017-11-01T00:22:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40125#p40125</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40125#p40125"/>
		<title type="html"><![CDATA[Questions about pybullet use in videogame]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40125#p40125"><![CDATA[
Hi,<br>long time lurker and first time poster <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I have a few questions regarding pybullet and how it can be used with the recent C# bindings that make it possible to connect to a Bullet server within the Unity3d game engine, makes for interesting possibilities!<br><br>1) If we wanted to simulate collidable terrain, would we have to generate the geometry elsewhere and import it as a mesh to then generate colliders? Would that be extremely slow to simulate in a large environment? Is there a better solution to create collidable terrain with pybullet?<br><br>2) Are there any known drawbacks or bottlenecks when using pybullet in terms of performance? I'd presume the simulation aspect is as fast as Bullet can be, as it's on its own server, however concerns are around the time it takes to talk between server/client and whether we'd be better off implementing Bullet directly (which would most likely imply moving away from Unity3d)<br><br>3) I'm mostly interested in pybullet because of its multiBody approach, as well as all the machine learning and robotics stuff, which tie in perfectly with a game design prototype we'd like to work on, however I'm wondering if implementing Bullet directly, and not using pybullet, is a more reasonable approach, not clear however how much of the machine learning and AI stuff belongs to pybullet and how much is part of the latest Bullet itself.<br><br>Any feedback would be highly appreciated!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12434">patrick_c</a> — Wed Nov 01, 2017 12:22 am</p><hr />
]]></content>
	</entry>
	</feed>
