Instead of using the dead body that we used in the Hangman on a rope recipe, we will look at attaching a heavy RigidBodyEx in the shape of a ball to make a wrecking ball. Through this the player will be able to activate the rope physics to swing the wrecking ball into a breakable house and destroy a section of wall on it.
My_Level.cry
within the SandboxUsing what we've already learned from the Hangman on a rope recipe, we will now swap out the DeadBody for a RigidbodyEx:
.cgf
model objects/default/primitive_sphere.cgf
.CanBreakOthers = true
Mass = 1000
Resting = False
Now the wrecking ball is ready. However, it needs something to destroy. Place down a destructive object in the path of the wrecking ball such as the following brush Objects/library/architecture/village/village_house1_c.cgf
. After setting up the wrecking ball over the head of the house, the player will see destruction occur the next time they enter the level.
The setup of the wrecking ball is very similar to the hangman, but just used in a different context of how designers can utilize the rope physics.
3.129.218.45