Withdrawn: Writing out the problem made me realise the solution - whoops sorry, it seems obvious now with hindsight I was just not thinking about it the right way - I was fixated about my current top level parents remaining top level.
The answer is to add another level of hierarchy - a new parent one level higher and through the software to provide for or allow all types of transform apart from rotation about a nonimated (common) axis.
The children of this additional level then would typically coded to only allow for rotation about the nominated (common) axis.
So if you want to transform the whole assembly you choose the new top level parent as your āhandleā but if you want to spin different components around the common axis at different speeds or by different amounts then your āhandleā is that component but the software only provides access to "rotation about Z.
The top level parent holds the assembly together, the children are responsible for their own rotations about the axis.
===========================================================
Hi
I wondered if anyone had suggestions how to mimic the usual babylon parent child relationship with respect to transforms with one special caveat - not all transforms of the parent affect the child.
A classic example would be a simplified clutch mechanism in an engine transmission - the drive plate or fly wheel and clutch plate travel everywhere together, changes in position and orientation but the drive plate may sometimes be spinning about its axis whilst the clutch plate is freewheeling at a slower speed or even not spinning at all - however the assembly as a whole might be simultaneously traveling along at great speed with changes of direction and orientation.
Its a common situation in machinery - all transforms, both translation and rotation would be applied to child except perhaps rotation on the Z axis where the relationship between parent and child might be governed by other factors.
Basically I want to pick up all translations for the child except rotation about their common axis ( say local Z which stays aligned with the parts ) - the parent is under direct control of the user, if the user moves the parent they expect the whole assembly to move, if they rotate in X or Y then they expect the child to follow - its only rotation in Z where they expect the child to ignore what the parent is doing.
Engineers generalise the concept of clutch to both linear and rotation cases, it boils down to āI will copy everything you do apart from displacement in this direction or rotation about this axis - then I will do something differentā - also found in various types of linkage where components share a common axle and so are partially constrained but can act independently otherwise.
I have ideas for how to go about this - either a post process that restores the child as intended (child counter rotates), basically backing off some of the applied transformation or to avoid the standard parent-child option and to implement a bespoke process that monitors the set of meshes of interest and maintains the desired relationships.
I just wanted to see if anyone had looked at similar requirements and come to any neat ways of going about this.
thanksā¦