How do I get an object to point the same way as the object that created it?

A

Aidan Carter

Guest
I want to create an "Aiming Line" that points at the player's position upon its creation, which then creates a projectile on the line that follows the same direction the line is pointing in, however since the player is obviously moving while the aiming line isn't (it only sets its direction once so it isn't constantly following the player) I cant use the players position again because it has changed, and I want it to move along the line. How would I go about doing that?
 
Top