skooter500/BGE — pull request #7 by chekz (2013-12-31 14:05:04+00:00)
Title: Cian Gardiner's Assignment

As requested a fork and pull request.

My changes to PhysicsFactory.cpp includes code to procedurally generate a pyramid of cubes ( CreatePyramid() ), a tower of cards ( CreateTowerOfCards() ) and a simple rag doll ( CreateRagdoll() ). It also includes an update which allows the user to specify a weight on CreateBox() and CreateCylinder().

Code inside CiansAssignment.cpp allows the user to attach a "balloon" to an object. An upwards force is applied to this balloon. Multiple balloons can be added to one object.

The change to PyhsicsCamera.cpp is that it spawns a rag doll instead of a box.

There is a problem resetting the scene when joint constraints are added to the scenario, which causes BGE to crash.