So, I returned to an older project of mine for a mini top down shooter arcade style game. I had left off with 'solving' the aim up down by not restricting the pawns pitch to 0 with SetRotation();
As you can probably guess, while 'aiming up a hill' the whole Pawn rotated to suit my needs. The aiming is based on the Mouse's position on the screen, and I've been able to make it visually look like the pawn aims up properly rather than rotating the whole pawn, but when I fire the gun, it still shoots on a 0.f pitch plane.
where can I edit this or how do I make the projectile fire in the direction the pawn seems to be aiming visually? I'll paste any code that you require to assist me, thanks in advance to anyone that tries to help.
NOTE: I managed to make it 'look' like he's aiming by using animnodes, shooting is the problem.



Reply With Quote


Bookmarks