You can add general obstacles of different shapes which we can modify as we instance them in the course
Create a new scene with CSGPolygon3D as root
Add it to the interactable group
Add a new material to the Obstacle
Add a variable to check if already hit
Because we will duplicate this obstacle
In the ready function we want to duplicate the material
Code the change color function
To change the color of the obstacle
When it is hit once by the player
Now you can instance different shaped obstacles in the main course scene