Part 4 - Steer the player
Estimated Time: 45 Minutes
Summary
In this tutorial, you’ll create a controllable player ship that turns to face your cursor and moves in that direction when you click the left mouse button. Along the way, you’ll learn how to detect input, convert mouse cursor position into world space, apply directional thrust, and respond to collisions — all using Unity’s physics and input systems.
Go to Tutorial
Click here to access the full tutorial on Unity Learn
Checklist
- Created the Player object (triangle).
- Wrote a script to track Mouse Input.
- Implemented movement towards the mouse cursor.
- Added collision detection to "Die" on impact.