PDA

View Full Version : Project: Building rigid body simulations using Blender's Bullet game engine


iluvblender
21-08-2008, 09:31 PM
Hello folks.

Couple of projects to demonstrate setting up of rigid body simulations using Blender's Bullet game engine.

You can download the blend file at the project pages linked to the images.

Setting up very basic rigid body simulations using ball and hinge constraints
http://iluvblender.googlepages.com/SimpleRBD1_0_SimpleRBD_Example.jpg/SimpleRBD1_0_SimpleRBD_Example-large.jpg (http://iluvblender.googlepages.com/blenderprojects%3Agameengine%3Arigidbodycubi)

Setting up a multiple pendulum effect using ball and hinge constraints
http://iluvblender.googlepages.com/Pendulum_Hinge_Ball_RigidBody_Exampl.jpg/Pendulum_Hinge_Ball_RigidBody_Exampl-large;brt:28.jpg (http://iluvblender.googlepages.com/blenderprojects%3Agameengine%3Apendulums)

:D

iluvblender
22-08-2008, 05:10 PM
Following is another example of setting up a compound rigid body object. Its self explanatory (Click to enlarge), and you can download the ***blend file*** (http://uploader.polorix.net//files/292/Blender/GameEngine/CompoundObject.blend)

http://iluvblender.googlepages.com/CompoundObject.jpg/CompoundObject-large.jpg (http://iluvblender.googlepages.com/CompoundObject.jpg/CompoundObject-full;init:.jpg)

iluvblender
22-08-2008, 07:31 PM
Another example of chain of rigid bodies.

Download blend file (http://uploader.polorix.net//files/292/Blender/GameEngine/ChainOfRBDs1.blend)

http://iluvblender.googlepages.com/ChainOfRBDs1_1_Base_Ball_Constraint.jpg/ChainOfRBDs1_1_Base_Ball_Constraint-medium;init:.jpg

http://iluvblender.googlepages.com/ChainOfRBDs1_2_Base_Fixed.jpg/ChainOfRBDs1_2_Base_Fixed-medium;init:.jpg

iluvblender
23-08-2008, 03:57 PM
A more complex simulation. You can download the blend file (http://uploader.polorix.net//files/292/Blender/GameEngine/RotatingCylinderWithBraids8.blend)

Link to a playblast of the baked simulation (http://www.vimeo.com/1585648)

http://uploader.polorix.net//files/292/Blender/GameEngine/RotatingCylinderWithBraids8_4_.jpg

http://uploader.polorix.net//files/292/Blender/GameEngine/RotatingCylinderWithBraids8_5_.jpg

iluvblender
31-08-2008, 04:49 PM
Following is another spring based system built using LogicBricks in Blender game engine.

Download Blender file
SpringStateMachine2.blend (http://uploader.polorix.net//files/292/Blender/GameEngine/States/SpringStateMachine2.blend)

Motion-blurred simulation in progress
http://iluvblender.googlepages.com/SpringStateMachine2_game.png/SpringStateMachine2_game-full;crop:0.17,0.09,0.9,0.8.png

The LogicBricks that control the simulation
http://iluvblender.googlepages.com/SpringStateMachine2.png/SpringStateMachine2-full;crop:0.28,0.5,0.73,0.97.png