Open sleepingdog opened 8 years ago
If a non-replaceable object is held (by one hand, like a hand tool) or otherwise associated with a body part (like a football being kicked in mid air) then this may require two z-orders, in-front and behind. It may be sensible to create these empty object-holder groups (SVG g elements) so that objects can be slotted in. Note that this is going to be necessary if the people have different dimensions (height, length of limb components).
For two-handed objects (like a cricket bat), there may or may not be a need to consider the arm z-order (which could get uncomfortably complicated, think of crossed arms). It may just need one object-holder slot in the 'lead' hand (which applies to cricket bat holding, I think).
There are some challenges in components such as heads, where part of the (rotatable) group should be in front of the neck (front: chin, say) and at the same time part behind (front: ponytail, say).
Is there a way to keep the head group together (for rotation, and so on) while making it appear both in front of and behind (on different layers) the object (neck) it is logically attached to?