In the game I am making I am trying to do the majority of the code in prototypes (don’t ask me why I am just doing it), now the code I have in place is supposed to make the enemy spaceship rotate to follow the player’s spaceship. The code is also supposed to work when the missiles the player fires go, but what is happening is that both things just decide to go off straight, and not follow what they are supposed to.
My theory is that with both objects calling the prototype, both with different numbers, and that they are getting scrambled in the prototype and doing these wierd things. Can anyone tell me if either this just won’t work(and why), or a way to make them change the values correctly without just making a few prototypes to do it?