Hello, when I right click on any actor in my island… I see a list of options in the drop down menu. But, what is the option called ‘Attach to’ and what does it do?
I like to use the Attach to option to create parent-child object relationships with the object you select becomes the parent, and the child is the one you right clicked on initially.
If you move, rotate, or scale the parent, then the child also moves, rotates, and scales; However, the relative rotation, location, and scale of the child to it’s parent remains the same. So if you scale the parent by 2, and the child has a relative scale of 2 relative to it’s parent, then the world scale of the child is 4 assuming the parent does not have its own parent. Similarly, the child’s location is offset from the parent’s location if you move the parent, and the child’s rotation is also offset from it’s parent.
It’s useful to create such parent-child relationships, for two cases that I can think of:
- Perhaps some objects do not have verse logic to change location, scale, or rotations, but if you attach it to a parent object that can move, rotation, and translate in verse, then the child will move with it.
- Usually a section of the world forms its own group of related objects. I usually pick one of them as the parent, and then I can easily control all of them as a group by using just that parent. This works great especially for scaling if the entire thing should be bigger. But sometimes moving them is just as crucial, but you want to keep their relative positions the same.
Thank you for telling me that, I really appreciate it.
If you have custom props on a breakable floor you can attach them to the floor, so they break too if the floor breaks.
thanks for the info. I appreciate it!