Bullet static mesh fires out at an angle IF i move forward at the same time.. Also fires at an angle if i aim up or down

I have a bullet static mesh that is set to fire forward using an impulse, it works fine when stationary and i see the bullet static mesh fire in a perfect straight line, my problem is two fold, the first problem is that when i fire the bullet and hold ‘W’ to move forward at the same time, the bullet goes in a straight line still, but the bullet static mesh fire out at an angle, almost sideways! If I hold ‘A’ and ‘D’ to strafe left and right, the bullet appears to fire straight (atleast from what I can tell) but it is when i hold forward that the problem occurs, also my character pauses for a millisecond when i press fire while moving forward, but this does not happen when i am strafing or moving back! I can’t help but think this is connected and tied in to the bullet going sideways when moving forward, as the pause only occurs moving forward when firing too.

My second problem related to the bullet firing is, if i aim up or down, the bullet static mesh always seems to stay somewhat horizontal, so while the shot does go where i fire, the bullet static mesh comes out more horizontally without vertically adjusting… so if i aim directly up at the roof, the bullet comes out kind of horizontal, even though you would want the bullet to appear to be firing straight up rather than sideways.

Here is a screenshot of my blueprint:

I hope this makes sense, its hard to explain some of it to be honest! I am new to UE4 been using it for a few weeks, learning very fast but still figuring out some bits.

You should use projectiles for that purpose.

I have a blueprint for the static mesh bullet that is spawned when the impulse is fired. I don’t understand what you mean by using projectiles? From what i understand, i am. A physical projectile fires when i click my mouse button.

Bullet is implemented as projectile object? It should have movement component to fly, and it shouldn’t use any impulses…

here is example documentation for it:

https://docs.unrealengine.com/latest/INT/Programming/Tutorials/FirstPersonShooter/3/1/index.html

you can check BP implementation of projectiles in First Person template project.

Its a special class of objects that used for bullets, grenades, rockets and so on.

No the bullet does not use impulses, i will check the other stuff to be sure. I followed a 2017 tutorial on youtube to get it to fire, and it works good, its just weird how the bullet fires at weird angle. Thanks.