Launch a object

Hello, this is my code,


basically it picks up a physics object and moves with the player, and when the player releases the input it drops

it, how can i make it throw/ launch instead of drop?

Thank you

Add an impulse to a single rigid body. Good for one time instant burst.

Add a force to a single rigid body. This is like a ‘thruster’. Good for adding a burst over some (non zero) time. Should be called every frame for the duration of the force.

There’s also the Projectile Movement Component (PMC) it’s specifically designed for thrown/shot projectiles.

Have you tried using the “launch” function?