We can make a boulder trap which starts rolling once the player triggers a tripwire
Create a new scene with RigidBody3D as root
Add a MeshInstance3D and CollisionShape3D as children
Select the MeshInstance3D
Select the CollisionShape3D
Add a new script to the TrapBall
export a variable for shoot force
Add a variable to track firing
hide the ball at the start
Create a function to fire at a target
If the ball has already been fired exit
Set the direction to the target
Apply the force to the ball
Next we can make the trip wire to trigger the ball