I made a small ground smash effect and I added part in the middle and made it the primary part of the model, in the script that adds the effect when ever i change the primary part position the model doesnt change position and only the primary part does, it leaves the entire model somewhere else
Is the model anchored, unanchored, or is the PrimaryPart anchored and the other unanchored Parts Welded to it?
Don’t change the Position of the PrimaryPart, change the Position of the Model.
The Primary Part just allows you to fine tune the location of the Model’s Position.
everything is anchored and I used weld constraints to weld the primary part with all of the parts in the model, should i keep it anchored or unachored? and am i supposed to be using weld constraints to weld them together?
i think you should just Anchor the primary part, weld all the other parts, and all the other parts should be unanchored. i’m no expert at primaryparts and setting their cframes(i kind of am but i very rarely use primaryparts and setting their cframes), but this should work this way
also, are you using PrimaryPart.Position, or Model:SetPrimaryPartCFrame()?
Im using PrimaryPart.Position, am i supposed to be using Model:SetPrimaryPartCFrame()?
I use it because when you move the position of a humanoidrootpart of a dummy, then the entire dummy moves
Pretty sure you just use MoveTo for the model. That link also mentions TranslateBy and PivotTo (already mentioned by @ObviouslyGreen) depending on what you want to happen.
Please read all the links so you can move the Model according to the result you need.
you should either use Model:SetPrimaryPartCFrame(), or as @Scottifly mentioned, PrimaryPart:MoveTo(), and/or other new methods that roblox studio added(for example pivots but i’ll stick to the og)