Throwing Looping Physics

Hello, so im trying to simulate a boomerang being thrown but im struggling on where to start. How would I go about making this boomerang being thrown with looping? Im not the best with physics, but any help is appreciated!

Heres what I want to achieve

1 Like

You want the projectile to reach V3(0, 0, x) in a downwards curved motion?

Yes, where x is the distance away from the start point

local x = OFFSET
local startPosition = boomerang.Position
local endPosition = startPosition + Vector3.new(0, 0, x)
local duration = 0.5
local direction = endPosition - startPosition

local force = direction / duration + Vector3.new(0, workspace.Gravity * duration * 0.5, 0)

boomerang:ApplyImpule(force * boomerang.AssemblyMass)
2 Likes

Is there any way to slow down the boomerang while its in the air. As in like when it is thrown have it glide more slower in the air so it doesnt reach its destination as fast as it is

You can modify the duration, which will make it more slower but at the same time it will get an increase in elevation which met not be what you want. Another option is increasing the mass of the boomerang, which afaik you can do indirectly by modifying the CustomPhysicalProperties of the boomerang. Since Mass = Density * Volume i.e Mass is directly proportional to Density, you can just increase the density which will result in larger mass.

Okay thank you for letting me know

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.