Hi!
I'm new to Bullet and have encountered some problems regarding understanding the integration part of Bullet into my own custom OpenGL project.
Could someone maybe explain how do I connect my 3D object to Bullet physics?
Are there any small and simple examples how this is done?
I have looked at the Demos and looked at the Hello World example.
Also read the Manual but it doesn't give me the answers I'm looking for.
I create my physics world and objects but where do I later on connect it with the actual visual 3D objects?
That's the part I don't really understand.
Thanks
Bullet integration problems
-
- Posts: 43
- Joined: Mon Jan 03, 2011 4:26 pm
Re: Bullet integration problems
What I do is, after each physics step, there's a function like "getOpenGLMatrix" in the transform of each rigid body. I call that function for every body that I need to render, then send it straight to OpenGL.
-
- Posts: 37
- Joined: Wed Sep 08, 2010 2:57 pm
Re: Bullet integration problems
You probably shouldnt multi post the same issue if this is indeed the same issue its more vague in this post but I believe its the same thing.
Go to your other thread for an update here:
http://bulletphysics.org/Bullet/phpBB3/ ... 330#p22330
Lulzfish if you do read this can you please follow the link if you can get mesh data into bullet physics calculations you are at least one step ahead of me!
Go to your other thread for an update here:
http://bulletphysics.org/Bullet/phpBB3/ ... 330#p22330
Lulzfish if you do read this can you please follow the link if you can get mesh data into bullet physics calculations you are at least one step ahead of me!