03-14-2022, 04:33 AM
Normally you'd do a setup like this with PhysX Binds instead of linked targets...that way you can define axes of rotational freedom.
However, you can still hack your current setup to work. Instead of using a Spin operator, which your linked target will not integrate, you can force the spin with a Rotation operator, and also set your link with a Link to Target operator set to continuous. This will reset the link each frame, but also incorporate the forced spin of the rotation operator. You can see the result is what you want, even though it might not be an intuitive setup.
I do see the value in being able to link to target on only certain axes...I'll have to think about a way to maybe implement that, so you wouldn't need this workaround.
However, you can still hack your current setup to work. Instead of using a Spin operator, which your linked target will not integrate, you can force the spin with a Rotation operator, and also set your link with a Link to Target operator set to continuous. This will reset the link each frame, but also incorporate the forced spin of the rotation operator. You can see the result is what you want, even though it might not be an intuitive setup.
I do see the value in being able to link to target on only certain axes...I'll have to think about a way to maybe implement that, so you wouldn't need this workaround.