soupday / cc_blender_tools

Add-on for Blender, for importing and auto-setup of character creator 3 & 4 and iClone 7 & 8 character exports into Blender.
GNU General Public License v3.0
460 stars 84 forks source link

Incorrect location when prop is sent from CC4 to Blender #287

Open cuddlyogre opened 6 days ago

cuddlyogre commented 6 days ago

Blender 4.2. CC4 4.51.3501.1 cc_blender_tools 17f5b4c655d5a2c36bee0ff98f32f3889b790a26 CCiC-Blender-Pipeline-Plugin bceef79b0d595861156a977c4cf738b78bf03ffb

When I send a prop from CC4 into Blender, the location it is place in Blender is incorrect. I can reset the location and it will go to the double circle, so it's not a dealbreaker, but it's a bit jarring.

It looks like the destination location is being added to the prop armature's only bone AND the prop object. I think that the armature object should be moved and the bone and prop should be left at 0,0,0

image image image image

soupday commented 6 days ago

If the initial transfer is putting prop mesh objects in the wrong place, then that's a bug in Character Creator's export function. Because the objects should be in the right place. The armature structure will be complete nonsense but the object positioning should be correct. As everything that comes after that is based on those initial conditions.

What happens if you send a Pose on that prop? When run on props, the Pose function should force a realignment of the armature to what is actually represented in CC/iClone.

cuddlyogre commented 6 days ago

Sending pose does correct it. I'll keep that in mind. image image