Use Parent Position but not rotation

Viewed 39

is there a way to make a GameObject use parent position but world rotation?

enter image description here

enter image description here

1 Answers

You can separate you rotation and translation into few objects, changing your hierarchy like so:

Moving Cube
- Parent Cube
- Child Cube

now, moving Moving Cube will move both Parent Cube and Child Cube and rotating Parent Cube won't affect Child Cube

Related