Begin by adding a new Area3D node to the Scene
Area3D is a different kind of node to the StaticBody that we use on our platforms.
It doesn’t act as a physical object and can be used on moving objects.
They are ideal for use as triggers.
We use Area3Ds to detect colliders within an area without blocking them.
This makes Area3Ds perfect for enemies, collectibles, or anything else you
want the player to be able to walk through while triggering an event.
Drag the spikeBlock.obj into the scene
Now make it a child of Enemy
Add CollisionShape3D Node
Resize it to fit the model
Right-click on Enemy Node and Save Branch as Scene
Now add enemies to the map. A good spot is between two platforms.