Hi everyone,
I’m currently working on a fractured model effect where I want each piece to rotate around its center. I have pre-calculated the piece centers in Houdini and stored them in the UVs. My setup is as follows:
Problem:
When I use (0, 0, 1)
as the axis, each piece rotates correctly around its own center (as expected). However, when I switch to other axes, such as (1, 0, 0)
, the pieces no longer rotate in place. Instead, they start revolving, causing their centers to shift away from their original positions, as if they are orbiting around another point in addition to their local rotation.
Original model:
Expected behavior when using axis
(0, 0, 1)
:Unexpected behavior when using axis
(1, 0, 0)
:I was expecting that regardless of the Axis direction, the pieces would continue to rotate around their individual centers. However, changing the axis seems to introduce both a local rotation and a movement that looks like an orbital motion.
Question:
Why does changing the Axis result in the pieces moving away from their original centers, and how can I ensure that they rotate only around their individual centers, even when changing the axis of rotation? (If it’s due to my pre-calculated piece centers being incorrect, why does the setup with (0, 0, 1)
as the axis look right?)
Any help or suggestions would be greatly appreciated!
Thanks in advance!