Greenlaw wrote: ↑Sat Mar 21, 2020 7:00 pm
For this sort of thing, I usually attach the item that's being held to its own bone. This way I can easily attach and detach the item's bone to/from the hand bone with a keyframe. With keyframeable parenting, the attachment is rock-solid.
Since he's using AS11.2, I don't think animated parenting is an option. But he could bind the the gun layer to the hand bone, a duplicate to its own bone, and swap visibility.
@uncle808us:
If you select that character's bone layer and enable "Immune to camera" in the layer options, you can see why this happens. Because the character is not centered, there is camera parallax. So moving layers around in z-depth makes them look like they are centered on a binding bone when they aren't really. Like Slowtiger said, it's not a good idea to use z-depth unless you need it for a specific reason, like parallax. If you're using z-depth to do "sort by depth", it's better to only separate layers by the smallest increments, like .01.