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.