A great feature of joints is that they can be turned into a motor. A joint can be given a rate of rotation that can be used to propel objects through the scene. This can be used to add objects that behave like vehicles in your game.
To demonstrate this, you will modify your catapult to drive into your structure instead of throwing objects at it. This can all be done within SpriteBuilder. Following are the steps:
CCColorNodeonto the scene.
10.00, and the friction to