#not changing children position
1 messages · Page 1 of 1 (latest)
are the parts welded
weld
weld
weld it again
good point
model:setprimarypartCFrame
or just PrimaryPart.CFrame = ...
ill try welding it again maybe it will work
model it
didnt work
cant
it should work
you can
- create a model
- put everything in the model
- set primarypart to your part
- weld everything to that part
welding it didnt work
use easyweld or smth
show
wait
hmmm
use ```lua
part.CFrame = CFrame.new(newPosition)
if you really must use the Position , than move the children manually
and you can also use models, put the part and children in a model and use ```lua
model:SetPrimaryPartCFrame()
deprecated!! 
ok use ```lua
model:PivotTo(CFrame.new(newPosition))

good 😎
doesnt work
why
thats a good question
i know , cause most of the time there is errors
the children stay in the position that was assigned in roblox studio and not the code
are they anchored?
there are no errors
?
hmmmm
it should be off
set a primary part
model.PrimaryPart = model."SomeMainPart"
model:PivotTo(CFrame.new(newPosition))
okay
and as cash said , unanchor all children
wait it wasnt a model when i was trying it btw
is that a problem?
bc when it is a model the script doesnt want to clone it from the replicated storage
if you set a primary part and unanchor it will for sure work
also yes
if its not a model , than PivotTo() wont work
but it wont clone
well than , for parts and not models use
part.CFrame = CFrame.new(newPosition)
it will move the welded children
but still the best way is making a model
ill try it
its not hard to make a model
@visual mica we really should find a builder and make a game and be richey

ik but i wont do it bc its not cloning
than make sure to weld the parts
** You are now Level 5! **
after welding the parts use
parentPart.CFrame = CFrame.new(newPosition)
this shit works smoothly
i had an idea of making a game similar to CASH To CATS project
basically incremental
but my brain is too dumb