Hello Developers!
I am having some problems with Pivoting/Moving a model to the correct CFrame. I used this code segment:
local GateTargetCF = HRP.CFrame*CFrame.new(0,0,-40)
GateTargetCF = CFrame.lookAt(GateTargetCF.Position, HRP.CFrame.Position)*CFrame.new(0,-3,0)
ToriiGate.PrimaryPart.CFrame = GateTargetCF
Now the problem is that in game it starts tweaking. It doesn’t even look at the player HumanoidRootPart, and half of it is under the map… Should I adjust the Pivot Offsets? Use a primary part? Idk im lost please help Also thanks for stopping by