Projectile not firing in the right direction
I'm making a top down kinda isometric game and I'm trying to have the player fire projectiles. I'm making the player and the gun separate actors. The player class attaches the gun to a bone socket and then tells it when to fire.The issue is that it's not firing in the direction the player is facing. Here is the firing code:
The "InitVelocity" code is:
asked Sep 20 '14 at 03:02 PM in C++ Programming
I think getting the forward vector might be what you are looking for.
answered Sep 20 '14 at 04:36 PM
I know that you have to have the rotation set to world instead of local. Our programmer was having the exact same problem.
answered Sep 25 '14 at 12:51 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here