#How should I go about doing this?

17 messages · Page 1 of 1 (latest)

boreal doveBOT
clear niche
#

Maybe you could move the sphere upwards by the diameter of the sphere minus the height of the block

#

Idk if that works though actually

tawny vortex
#

I still need help with this

jaunty trench
#

Current Y position of the sphere + (The radius of the sphere + Half of the block height)

clear niche
#

Oh I see that yeah that works

shy aspen
#

roblox? lol

tawny vortex
shy aspen
#

in general, roblox's coordinate system uses the center of the part though

#

so, the position for Y should be something like this

Baseplate.Position.Y + (Baseplate.Size.Y/2) + (Sphere.Size.Y/2)
#

the first shift using the baseplates does this:

#

we start at the center, and then move that point up by half of the size of the Y direction to shift that point up to the top of the baseplate

#

now our problem is with only that, the sphere will now be centered at the top of the baseplate, so we use the same logic and add half of the sphere's size so that the bottom is now at the top of the baseplate @tawny vortex

tawny vortex
#

👍

#

I already figured out myself when he did say that but thanks for explaining

#

just forgot to close the post