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

How do I use BodyPosition on Blocks?

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 comments

2

Is it possible that the force of the body position isn't strong enough?

0

Oh, and make sure that the platform isn't anchored and that start/finish are NOT CanCollide.

1 answer

✓ Accepted answer

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

1 comment

0

Yes that was it. Thank you

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