So, I’ve tried moving the primary part of a model to place the model in the mouse’s position but it placed the primary part and not the model. Now I was curious and did it on the character to see and well the HumanoidRootPart just disconnected. Honestly, I’m just wondering how did they break or I’m perceiving something wrong.
Moving a primarypart of a Model doesn’t makes the rest of the model move, you can only make that with CFrame like this:
Model:SetPrimaryPartCFrame(CFrame.new(1,1,1))
I’m not sure exactly what you’re doing, but it sounds like you can use CFrame.new(Mouse.Hit.p)
, just make sure to make the model the mouse’s TargetFilter so it ignores it:
It shouldn’t be a vector2 when you get the mouse’s position (not on the screen).
Sorry for the late mark as solution, I thought something else was wrong.
1 Like