Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why Does The Size Of The Object Affect This Script?

blob.CFrame = CFrame.new(blob.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0)
				local heck = Instance.new('BodyVelocity',blob)
	heck.Velocity = (blob.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120
	local coru = coroutine.wrap(function()
		wait(.45)
		if heck then
			heck:Destroy()
		end
	end)
	coru()

I do not understand why this happens but If I set the size of blob to 0.7 the script runs as needs to it launches the part and then curves down. But when I set the size to 10 then it doesn't even launch. How do I fix this?

4 comments

0

It is probably the weight of the object. Use more velocity to push heavier things.

0

Oke let me try that

0

Its still just droping down

0

When I change the *120 after lookVector when the object is at 0.7 size it does go faster but when I do it with the 10 sized object it doesnt even move

1 answer

You can edit the "Weight" of a part by going into its custom physical properties and playing around with density; however, you may also add body velocity with infinite force to keep your part afloat.

This discussion is preserved as it was. New answers, comments, and votes are closed.