Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jan 06, 2009 7:09 pm 
Offline

Joined: Fri Oct 17, 2008 6:04 pm
Posts: 2
Hi, Here is my demo program showing physics simulation of a bowling ball striking ten pins, or what's left standing. This is my first step into physics simulation using Bullet 2.73 working hand-in-hand with Irrlicht 3D graphics engine.

http://sourceforge.net/project/showfile ... _id=651749

To install, simply download the compressed file and expand it to a directory. The executable along with the other files/directories will be copied.

The link to the compressed file is shown above, it doesn't have the Visual Studio 2005 redistributables so you may have to install it before you can run the demo program. To download the redistributables, click the link below.

http://www.microsoft.com/downloads/deta ... laylang=en

And here is a snapshot of the demo bowling program.

Image

About the Demo:

1) The ball is driven by a force applied to a linear velocity. The space bar will cause the force to be applied and the ball will propel towards the target.

2) A pin will stay up until it gets hit by the ball, once it topples down the code will check its inclination which will cause a remove object flag to set. A timer is reset and will count down from 3, once it reaches zero the object is deleted.

3) Pressing P will put a new set of ten pins, now you're ready to roll the ball.

That's it, have fun.


Top
 Profile  
 
PostPosted: Sat Jan 10, 2009 5:57 am 
Offline

Joined: Fri Sep 19, 2008 6:08 pm
Posts: 107
Hi

Did you made a debug build?

Its rather a little bit slow - I just pressed the "P" twice and the game would slow down significantly.


Top
 Profile  
 
PostPosted: Tue Jan 20, 2009 9:27 pm 
Offline

Joined: Fri Oct 17, 2008 6:04 pm
Posts: 2
Yes, that's a debug build. Let me build a release build and it will be posted later as at a different place at the moment.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group