How do I make balloon physics?

basically I want to make balloon physics.

basically where:

If a balloon is attached to a part it makes it float, the more balloons the more it floats.
If the part is small, it needs less balloons to make it float, and with larger objects it needs more.

I’ve seen people do things like this but I dont know how to do it so here I am!

Thanks!

3 Likes

I completely misread what you want to achieve, so basically you want to make it so if a balloon is attached to a part then that part would begin to float. And the more the balloons attached then the more it would float. Alright so you’d need to use a LinearVelocity.

2 Likes

@FroDev1002 I edited my reply but let me know if it works or not.

2 Likes

You can use force object, That can push your balloon up.

2 Likes
local balloon = balloon
local parts = {...}

local balloonAttachment = Instance.new("Attachment")
balloonAttachment.Position = Vector3.new(0, 0, 0)
balloonAttachment.Parent = balloon

for _, part in parts do
    local attachment = Instance.new("Attachment")
    attachment.Position = Vector3.new(0, 0, 0)
    attachment.Parent = part

    local rope = Instance.new("RopeConstraint")
    rope.Restitution = 0.5
    rope.Length = 10
    rope.Attachment0 = balloonAttachment
    rope.Attachment1 = attachment
    rope.Parent = balloon
end

local vectorForce = Instance.new("VectorForce")
vectorForce.Force = Vector3.new(0, 1, 0)
vectorForce.Attachment0 = balloonAttachment
vectorForce.Parent = balloon
2 Likes