Questions with moving bricks/meshes

So I’ve got a question which I need help with. When I move a brick out of a certain position, is there currently any way for me to put it back to where it originally was (after doing edits to that part/model) without just reverting it and using co-ordinates? (using something like snap to corner)

I’ve also got a question with moving objects with a parent and child. So when you make a part/mesh a parent, the children within it will move when using the normal arrows but when you use the co-ordinates, it will only move the parent and not the child objects. How do you move both parent and child objects with co-ordinates when just selecting the parent object?

All answers are much appreciated.

3 Likes

Ok for the last problem, what you can do is:

  1. Make them a model and use SetPrimaryPartCFrame

  2. Loop through all the children and find its offset to the main part by using MainPart.CFrame:ToObjectSpace(ChildPart.CFrame) and save that value, after you move the MainPart make each ChildPart’s CFrame the MainPart’s CFrame * the offset you found

1 Like

I’m pretty sure, You can weld the 2 parts /meshes that in turn will move everything to the same co-ordinate without it being off balance,
If you want to learn how to weld go to >>> Advanced Roblox Scripting Tutorial #9 - Welding (Beginner to Pro 2019) - YouTube

or an alternative, you can just group them as a model, then when you find your desired position just ungroup. But i advise you do the welding.

1 Like

Sadly , I dont think there is anyway you can do that without just using co-ordinates or moving it manually , they might be a plugin for one idk ,but it’s long but it’s still efficient .

1 Like

So grouping doesn’t work as once it’s grouped you cannot do it by co-ordinates. Does welding do this?

The reason I can’t use co-ordinates is because I’m working with parts that are rotated.

2 Likes

With welding you can join the parts together , and you can still edit one of the parts that is joined without affecting the other.

1 Like

Will it move both parts when you enter co-ordinates if you do this then?

1 Like

The only way I know for you to be able to move the weld is by choosing your desired location , maybe u can use a dummy part find its position and select all the parts that are welded together and change their co-ordinates like that , or you can just select both parts and move it with your mouse.( This wouldn’t ruin the part that is rotated)

However if your talking by script then i think the first choice is your only 1.

2 Likes