Hi,
So I’m trying to pipe in all the info MetaHuman Creator needs from Maya and I have a few questions.
I’m looking at the conform body py example and it looks like the joint translations are not used. Is setting joint translations not currently possible through the api?
result, joint_world_translations, joint_rotations = metahuman_character_subsystem.get_joints_for_body_conforming(body_skeletal_mesh)
if result != unreal.ImportErrorCode.SUCCESS:
unreal.log_error("Failed to get joints for body conforming")
return
success = metahuman_character_subsystem.conform_body(metahuman, vertices, joint_rotations, repose=True, estimate_joints_from_mesh=False)
And how are the joint rotational values calculated? I can’t figure out how you got the values
LogPython: [<Struct 'Vector' (0x0000020BE00C9050) {x: -0.000000, y: 0.000000, z: 0.000000}>,
LogPython: <Struct 'Vector' (0x0000020AC2234330) {x: 1.570796, y: 1.534966, z: 1.570796}>,
LogPython: <Struct 'Vector' (0x0000020AC2234380) {x: -0.000000, y: -0.000004, z: 0.191115}>,
LogPython: <Struct 'Vector' (0x0000020AC22343D0) {x: 0.000000, y: -0.000000, z: -0.127772}>,
LogPython: <Struct 'Vector' (0x0000020AC2234420) {x: 0.000000, y: -0.000006, z: -0.165914}>,
LogPython: <Struct 'Vector' (0x0000020AC2234470) {x: 0.000000, y: 0.000000, z: -0.148927}>,
LogPython: <Struct 'Vector' (0x0000020AC22344C0) {x: -0.000000, y: 0.000000, z: 0.026750}>,
LogPython: <Struct 'Vector' (0x0000020AC2234510) {x: -0.000000, y: -0.000000, z: 0.404122}>,
LogPython: <Struct 'Vector' (0x0000020AC2234560) {x: -0.000000, y: -0.000000, z: -0.015788}>,
LogPython: <Struct 'Vector' (0x0000020AC22345B0) {x: -0.000000, y: 0.000000, z: -0.199416}>,
LogPython: <Struct 'Vector' (0x0000020AC2234600) {x: 2.969533, y: -1.438563, z: -2.782088}>,
LogPython: <Struct 'Vector' (0x0000020AC2234650) {x: -0.080422, y: -0.788340, z: 0.057689}>,