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

How do I use BodyPosition on Blocks?

Asked by 6 years ago

So now I have 3 blocks. The block on top is the "Finish" block. The block in the middle and what I want to move is the "Platform" and the block on bottom is the "Start". The Platform has a BodyPosition inserted in it and I created this script to have the Platform move to the Finish but instead the Platform just falls.

local model = game.Workspace.MovingPlatformModel
local platform = model.Platform
local start = model.Start
local finish = model.Finish
local body = platform.BodyPosition

body.position = finish.Position 
wait(5)
body.position = start.Position
2
Is it possible that the force of the body position isn't strong enough? XAXA 1569 — 6y
0
Oh, and make sure that the platform isn't anchored and that start/finish are NOT CanCollide. XAXA 1569 — 6y

1 answer

Log in to vote
0
Answered by
Nogalo 148
6 years ago

Insert BodyForce into your platform and put a number in "Force" in the Y dimension i.e.(0,1000,0)

0
Yes that was it. Thank you cooldrewbie 94 — 6y
Ad

Answer this question