We can create an obstacle which spins.
Create a new scene with AnimatableBody3D as root
Add MesInstance3D and CollisionShape3D as children
Select the MeshInstance3D
Set the Size to 5 x 1 x 1
Change the Albedo if you wish
Select the CollisionShape3D
Match the dimensions of the Spinner
Add a new script to the Spinner
Get a reference to the Mesh
Export a variable to control spin speed
Create a variable to track hits
Add the spinner to the interactable group
So that it can change colour when bumped
Create the color changing function