I’m having a problem where the projectile doesn’t move in the direction that was created by the line trace hit location. Does anyone know the problem?
Wouldn’t it be easier / more natural to trace first and then fire a bullet? If tracing is not required at all, it can be even simpler - use the camera vector to fire the bullet
Initial Speed on the PMC set to 0.
It would also give you the chance to add player velocity to the mix, so you do not accidentally overtake your own slow flying bullets as you run. Velocity being relative and all.
If you need / must use a trace, consider getting direction like so:
or:
2 Likes
That actually makes more sense, thank you!