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

How would you find the position of the very bottom and a part?

Asked by 4 years ago

I don't quite understand how to do it. Help would be nice.

1 answer

Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

Get the horizontal size of the part, half it, then decrease the horizontal position of the part by it

e.g

Part1 = --The Part you want the very bottom position of
Part2 = -- the part you want to move to the bottom of part 1
Half = Part1.Size.Y/2

Part2.Position = Part1.Position -Vector3.new(0,Half,0)



Ad

Answer this question