Download

Set Velocity in Local space not working

Hi, I wanted to make an arc of the projectile. I’m using the predict projectile path node. Then i’m spawning the actor with projectile movement. But the issue is i can’t set the velocity in local space via blueprints. It only takes the default values which are found in the projectile movement component. So anyone know how to set it via blueprints? I’m using ue4 4.20.3 version.

Take the projectile’s (or gun barrel’s) forward vector multiplied by the vector length of the intended velocity. Use that to set velocity (worldspace)