we crash (Reload the current scene)
we land on the goal (load next scene)
Selecting the Player Node in the Player Scene
Connect the _on_bosy_entered() signal
Program the signal function so that:
If we reach the goal we load complete the level
(This will load the next scene)
If we hit the floor we run the crash sequence
(This will reload the current scene)
In order for a RigidBody3D to detect collisions
Enable Contact Monitoring
and set the max contacts reported to 10
When using a RigidBody3D, it already collides physically (bouncing, falling, etc.), but it won’t report those collisions unless you tell it to.
Godot disables contact monitoring by default for performance reasons — a RigidBody3D might touch dozens of objects per frame, and constantly tracking all those contacts can be expensive.
That’s why signals like body_entered and body_exited only fire if contact monitoring is enabled.
Program the complete_level function:
This function receives the file path for the scene to load
It then commands the scene tree to load the scene
specified in the file path.
Program the crash_sequence function:
This function prints out a message
and then reloads the current scene.
In each of your level scenes
Select the LandingPad node
Drag the correct scene file
To the File Path Property