topdown space game

i would appreciate it if someone could please tell me how i would go about making a script that makes my spaceship always look towards the mouse position or cursor on the same plane as the spaceship. i want it to only look in 2 dimensions being the x and z axis. any help would be greatly appreciated. thank you

1 Answer

1

Start by looking at this, and figuring out how it works.

thank you. this is great.

You are welcome.