projectile movement freeze when using gravity

Hello, I have an issue for a few days that i cant figure out. Im making my player character throw an object using ProjectileMovement.
Im using a line trace to aim where the object should go.
Everything works fine until i set the gravity. Then the object freezes as soon as it leaves the player.
If i turn gravity off it works fine.

Its the first time im using projectile movement so im having a hard time knowing what to look for but here is my code so far.

Hope someone can point me in the right direction


I figured it out after a long time so here is the solution:

Once i use projectile movement once, its “fixed” to its last location. So in order to pick it up and throw it again i just needed to reset it by using the “set updated component” to the root component and it works perfectly.