Weapon Offset when parented under right shoulder
I needed a parent that would give me control over both hands, and continued to animate the gun object and its children using constraints. I ended up with the desired animation, but when exported, the gun oddly enough is offset halfway the animation.
It's another one of those things that feels like it defies all logic.
Is there a way to change the parent of the gun to the right hand and keep the animation intact?
When things are parented to the hands, I guess things work better. I did not have this problem with another reload animation and the gun was parented to the hand there.
This was a hassle but doable since I was still in the blockout phase.
In the Scene:
1. Duplicate your character (in the hierarchy) as a backup.
2. Change the object to the hand as the parent.
3. Give the object the right start/scene- (local) position to prevent offset.
4. In config, select "Apply Scene Pose".
5. In config, create the same setup for all the child objects to have bones.
6. Remove all the keyframes onwhich you applied "Update Position and Rotation keys".
7. Re-add all constraints on the keyframes you previously started constraint connections on.
This fixed the offset and now results are consistent.
For now I am wary of parenting to anything but hands with humanoid animations.
Customer support service by UserEcho
thank you very much for reaching out.
If you're doing this type of animation (with custom parents involved) humanoid is probably not the right choice. To me it sounds like due to the specific character setup the animation is only going to work for your specific character anyway so there is no point in using humanoid. Or do you share this animation with other characters? If that is not the case, you should definitely consider switching to generic as generic is lossless while humanoid introduces offsets/problems due to it's internal re-targeting mechanisms.
Well I'm doing a lot of mocap blending between multiple characters so it's kinda helping me out.
In the humanoid skeletal hierarchy, what's the perfect location to scene-parent an object for the use of both hands?
Thank you so much Peter, I bet humanoid is a huge head-ache to deal with lol
This depends on the held object/situation. If you e.g. parent the object to the right hand, then the offset of right hand to object is always precisely correct but the left-hand to object might show offsets due to the re-targeting errors. I would go for this route if you have something like a two-handed gun.