English


Profile Picture

CC4 -> Unity real-time clothing change with different models

Posted By jjorta 2 Years Ago
You don't have permission to rate!

CC4 -> Unity real-time clothing change with different models

Author
Message
jjorta
jjorta
Posted 2 Years Ago
View Quick Profile
New Member

New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)New Member (58 reputation)

Group: Forum Members
Last Active: 3 days ago
Posts: 1, Visits: 19
Hello! My team is developing a program where you should be able to change your character with a variety of clothing in real-time. We are using CC4 and iClone. We currently have 28 models of different body types and we have tried countless hours putting together a character creator system in unity. The view is that they will pick one of the base (naked) 28 body types and be able to select change their clothes from UI that we have already implemented. We do use the CC4 -> Unity plugin to render all textures and materials, but for some reason when we change the root bones for the clothing to another model, the clothing item either completely disappears, distorts, or just does not move no matter what. 

Is there anyone that could help tackle this problem?
Peter (RL)
Peter (RL)
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)Distinguished Member (124.4K reputation)

Group: Administrators
Last Active: Last Year
Posts: 23.1K, Visits: 36.6K
Hi...

Please be aware that using Reallusion content (including characters) in any kind of character creation or customisation system is forbidden unless you have negotiated an Enterprise License first. Please see the page below which explains what is allowed with each license.

https://www.reallusion.com/license/content.html

                                                                

Peter
Forum Administrator

www.reallusion.com


Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 10 hours ago
Posts: 569, Visits: 9.0K
Assuming that's the case:

It's not just the SkinnedMeshRenderer.rootBone you need to change. Each SkinnedMeshRenderer also has a (hidden to the inspector) array property of bone transforms (SkinnedMeshRenderer.bones) that needs to be replaced with an array of the new bones. As it's a property, just updating the transforms in the array won't work. The Entire array needs to be replaced with a new one.





Reading This Topic

0 active, 0 guests, 0 members, 0 anonymous.
No members currently viewing this topic!