Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

BodyPosition doesn't move part?

Asked by
Kryddan 261 Moderation Voter
8 years ago

The part doesn't even move a little bit. I don't use BodyPositions a lot so keep that in mind.

Part is defined and it's anchored. I have also tried without it anchored.

local BP = Instance.new("BodyPosition")
local BG = Instance.new("BodyGyro")
BP.Position = Vector3.new(1,1,1)
BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
BG.MaxTorque = Vector3.new(0,0,0)
BP.Parent = Part
BG.Parent = Part

1 answer

Log in to vote
0
Answered by 8 years ago

you need to define a value for math.huge like 1000:

math.huge(1000)

Also you need enough force to move the part so keep adjusting it until it moves even if it takes you along time.

0
First of all I can't set a value for math.huge because it's larger than every number, its infite Kryddan 261 — 8y
Ad

Answer this question