From Physics Simulation Wiki
Cargo is a work-in-progress adventure game about a snail who has been robbed. These mini games are a selection of puzzles from a dungeon in the main game.
The player controls Cargo, exploring the environment from a snail's point of view. Bullet was used extensively to provide realistic interaction between the snail and the world. The physics simulation was adjusted using Blender's logic bricks and Python scripting:
- Two motion actuators are used to make Cargo stick to the walls and ceiling: one with a positive Z component in world space; another with a negative Z component in local space.
- Several rays are cast out in a circular pattern to find nearby objects. Cargo is then oriented to sit flat on the surface.
- Force fields were created in Python to simulate buoyancy and currents in the water. The scripts simply apply acceleration by changing the objects' linear velocity on each frame. Bullet takes care of the rest.
Cargo can also curl up inside his shell to roll down slopes. Compound rigid body dynamics are used to give the shell a realistic shape and make the simulation more interesting.
Further information is available in my blog.
The game can be downloaded from:
To play, double-click on Dungeon.blend. Further instructions in README.txt. (requires Blender 2.49b)
Return to Blender Game Contest 2010