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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2011-10-17T13:51:13+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Karrok]]></name></author>
		<updated>2011-10-17T13:51:13+00:00</updated>

		<published>2011-10-17T13:51:13+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25870#p25870</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25870#p25870"/>
		<title type="html"><![CDATA[Re: how to  integrate the BULLET into my GAME engine?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25870#p25870"><![CDATA[
Asuming your physics engine is leading, your controls would control a kinematic object, directly driving said object in the physics engine.<br><br>You then step the physics engine each "tick".<br>You slap on an update callback to each object and have this callback update the visual world.<br><br>There is no way to avoid data "duplication" though, as both the physics and the visual world need their own object representation, where they are being kept in sync with the callback.<br><br>Update audio just looks weird, tbh, you should first start reading up general game-engine information and how they are put together, and how everything works.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8150">Karrok</a> — Mon Oct 17, 2011 1:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[zydgyy]]></name></author>
		<updated>2011-10-14T03:55:37+00:00</updated>

		<published>2011-10-14T03:55:37+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25794#p25794</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25794#p25794"/>
		<title type="html"><![CDATA[how to  integrate the BULLET into my GAME engine?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=25794#p25794"><![CDATA[
Hi guys,<br>      as topic,how to integrate it into my game loop link this:<br>               while(true)<br>               {<br>                     input();<br>                     updateGameWorlds(delta time);<br>                     updatePhysics(delta time);<br>                     updateCollisions(delta time);<br>                     updateAnimations(delta time);<br>                     updateAudios(delta time);<br>                     render();<br>               }<br>Besides,how to avoid the data duplication in game worlds,physics engine,render engine!<br>             Thanks a lot!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8820">zydgyy</a> — Fri Oct 14, 2011 3:55 am</p><hr />
]]></content>
	</entry>
	</feed>
