
I try tons of Cframe and Vector3 put my math skill is bad

I try tons of Cframe and Vector3 put my math skill is bad
Well, the size divided by 2 for the object on the left is where you’re bottom and top are going to be.
And if your table is a model with the PrimaryPart set.
You should be able to do this
leftObject.CFrame = (tableModel:GetPrimaryPartCFrame() + Vector3.new(0, tableModel.PRIMARY_PART_NAME_HERE.Size.Y / 2, 0)) --Tried it with .PrimaryPart.Size, etc, and it errored in studio.
* CFrame.new(0, leftObject.Size.Y / 2, 0);
Thank you, I did a bit of revision and it worked ![]()
local item = game.ReplicatedStorage.Items.IronBar:Clone() --Items, Is A Model
local ItemHolder = clickDetector.Parent.Parent.ItemHolder --Table Face, if you wonder
item.Parent = workspace --put in a folder later
item:SetPrimaryPartCFrame(ItemHolder.CFrame +CFrame.new(Vector3.new(0,ItemHolder.Size.Y/2,0))* Vector3.new(0, item.PrimaryPart.Size.Y / 2, 0))
As long as the concept worked and you got how to use it!
Glad I could help!