#How to move model parts (I'm trying to make a 2d game in roblox studio, I need to move it frequently
1 messages · Page 1 of 1 (latest)
move how exactly
i currently need to set their position
i have a test part in the workspace to and a primary part in the model
trying to move this model up to that part up there
** You are now Level 1! **
click and drag the green arrow
i mean in the code
.position=?
i guess? but when I tried using "model.PrimaryPart.Position=" that only move the primary part even though the other 2 parts are welded
oh you're moving an assembly
could've said you were trying to move welded parts
you can either model:pivotto() or unanchor all parts except the assembly root part / primary part, and set cframe / tween cframe
setting .position or .rotation directly (or tweening it) will temporarily unweld it for the reposition
@queen geyser alright so i see your issue
you just need to wrap it up in a pcall function which should protect it from like protect u from roblox's anti model move parts and it'll automatically move the stud distance for you.
oh yeah one last thing
Rotating and moving collisions will help better smoth the block parts for ya