Make a Part from a Model look at the Player without CFrame?

Basically, i need a Part that makes up a model look at the player, not the entire Model, kinda like a camera. However this “camera” is being shipped and the parts are being held together by WeldConstraints, so i can’t use things like anchored or CFrame (the model is moving).

r

as shown here, Part 0 moves while the other parts remain in their respective position.

You could edit the weld’s C0 or C1?

EDIT: Example

local OriginalC0 = HeadWeld.C0
local function LookAtPlayer()
	local LookAt = CFrame.lookAt(Head.Position, Player.Head.Position)
	HeadWeld.C0 = (LookAt - LookAt.Position) + OriginalC0.Position
end

Welds dont have CFrame, but RigidConstraints might do the trick.

Welds do have CFrames though.
That’s what C0 and C1 are

Oh sorry i missunderstood, welds do have cframe, however it seems to be aiming the wrong way, ill try and experiment to solve this issue

1 Like