Hey all
I've been given a project at school to make a x-wing vs. tie fighter game. I need to shoot a laser from the tie fighter is there anyway that I can make the laser point the same direction the tie fighter is pointing?
Thanks
When firing, do these three things:
(1) create the laser
(2) set its rotation
(3) add it to the world
as opposed to this:
(1) add a new laser into the world
Sorry I should have worded that better.
I meant how to make the image of the laser turn depending on the angle it is fired at e.g. is the tie fighter is at 90 degrees then the image of the laser is at 90 degrees or the tie fighter is at 180 degrees then the image of the laser is at 180 degrees.