Question by
kevin_lie · Jan 13, 2016 at 10:23 AM ·
c#space shooter
How to Automatically Aim Shot Spawns at Player (Space Shooter)
I have followed the Space Shooter tutorial, up until spawning enemy ships. Now I have an idea to create a new kind of enemies with automatic turrets which always shoot bolts at the player position. I thought to modify the shotSpawn.rotation.y to aim at player ship position, but I'm clueless about how to do so.
I'm a newbie on C# so please give a detailed answer, if you will.
Comment
Your answer
Follow this Question
Related Questions
Project Space Shooter: My ship won't move! 2 Answers
Trail effect for non-moving object 2 Answers
The bolt doesn't move 0 Answers
space shooter tutorial help 0 Answers
[Solved] I am trying to build a space sim/ shooter type game. 1 Answer