I’m making a spotlight component that needs to rotate in any direction, with the attachment staying in place. I will have many of these in my scene, and they all need to be a blessing to rotate in a different direction.
So to make that work I’m making a dynamic component (LIGHTING DEVICE) that is nested inside another component. (SPOLIGHT_VWFL).
I can rotate the device around it’s center manually. But I want to make it easier by adding editable attributes to it. So I’ve added ‘Rotx, Roty and Rotz’ attributes to the dynamic component. But the problem I have is that the component doesn’t rotate around its center.
you need to place one of the rotation within an extra nesting, plus be mindful of the axis
can you upload the component?
then can advise within your context
this rotates at center, there appears to be an axis I can use.
I moved the main object(s) into the attachment and assume it rotates here, matched the axis position, then passed an attribute from the parent to this object(s)