Hi. How would I rotate my model (House) to face my buy sign? The house has an PrimaryPart associated to it and my code doesn't seems to work.

local house = game.Workspace.House --Model
local sign = game.Workspace.Sign --Normal Part

house:SetPrimaryPartCFrame(house.PrimaryPart.Position, sign.Position)

Resuming: I have a plot system which has a sign to buy land property, but the houses dont rotate on their on obviously so I tried to code something to rotate, nothing on google helped.

2 comments

0

CFrame.new(house.PrimaryPart.Position, sign.Position) try this inside the setprimarypartcframe, look for errors. I'm not sure if what you did works as well but this is what I normally do

0

It did not give error but it rotated to wrong side. You have any more ideas?