What I want to do:
A. have Enemy ships Move (on a Rail)
B. have Enemy ships Shoot (at Me).
C. have My ship collide (with Rocks and Enemy ships)
My dev order would be:
1: C
2: A
3: B
Because:
- Having enemies Shot at me or Move into me without collisions is not interesting.
- Collisions are required for either Shooting or runing into Enemies and Obstacles.
How to “C”:
I would add a Collider to the enemies
I would also create some off-renderer’ed GameObjects with Collider on top of where the terrain should collide with the ship.
Then I’d add a Rigidbody to the ship.
After that I’d code a console text on collision.
And finally I would create a “canCollide” state that controls when the text is printed (only first time) and reset it on scene load, or game start or so.