Attaching a prop to a prop to make new prop, not working,


https://forum.reallusion.com/Topic506397.aspx
Print Topic | Close Window

By MaxxPowr - 3 Years Ago
Hi,

I attached a cloth object to a cone; a little veil to make a princess hat.
I tried parenting it to the cone, but if I save the Avatar the Veil did not come with it.
I asked the forum, and was helped saying you have to "attach" the veil to the cone for it to be saved.
When I save it as an avatar, the cone and veil are gone. If I attach the cone to the head and the veil to the cone, they are saved.
Great! BUT...
When I animate the Avatar wearing the Cone Veil, the cone moves with the Avatar, attached to the head, the veil stays where it started.
I know it's me, but what am I doing  wrong?
By 4u2ges - 3 Years Ago
When I animate the Avatar wearing the Cone Veil, the cone moves with the Avatar, attached to the head, the veil stays where it started.
I know it's me, but what am I doing  wrong?                               

It should work without a problem. It seems you have baked veil animation and then disabled Soft Cloth altogether? Is that possible?
Make sure you have a check box on Soft Cloth globally in Project settings. Remove Vertex Animation from Veil (given soft cloth is enabled for it as well).
And try again.
Here is an improvise setup. Do you have something similar? (it always a good idea to share some screenshots with your setup)

https://forum.reallusion.com/uploads/images/46c94d8a-d52a-47b3-af0f-fdd6.jpg

By MaxxPowr - 3 Years Ago
"It should work without a problem. It seems you have baked veil animation and then disabled Soft Cloth altogether? Is that possible?
Make sure you have a check box on Soft Cloth globally in Project settings. Remove Vertex Animation from Veil (given soft cloth is enabled for it as well)."
And try again.
Here is an improvise setup. Do you have something similar? (it always a good idea to share some screenshots with your setup)

I have not "baked" the veil animation. Soft cloth is enabled.
I checked project properties soft cloth globally.

The Veil (cloth_-------C.iprop)
I ATTACH it to the Cone, on frame 1.
If I hit play on animation timeline, the veil rotates and flies off to the side.
I'm a newbie so I may be wasting  your time, if so, sorry.
https://forum.reallusion.com/uploads/images/372fea66-97e4-496d-9f7d-6597.jpg
By 4u2ges - 3 Years Ago
Ahh OK, so you disabled gravity so that it does not fall down, right? :hehe:

The problem is that you never set any weight map for the cloth. You need to set pinning with it, so that it's static at the pinning points and stay attached.
Default map is a plain white image and you need to changed that. Start from here to understand how cloth weight maps work: https://manual.reallusion.com/iClone_7/ENU/Content/iClone_7/Pro_7.4/20_Physics/Setting_Soft_Weight_with_WeightMap.htm?Highlight=weight
By MaxxPowr - 3 Years Ago
"Ahh OK, so you disabled gravity so that it does not fall down, right? Hehe
The problem is that you never set any weight map for the cloth. You need to set pinning with it, so that it's static at the pinning points and stay attached.
Default map is a plain white image and you need to changed that. Start from here to understand how cloth weight maps work: https://manual.reallusion.com/iClone_7/ENU/Content/iClone_7/Pro_7.4/20_Physics/Setting_Soft_Weight_with_WeightMap.htm?Highlight=weight"

Thanks again.
Yes, I did enable gravity after it fell through the floor multiple times ;)
I'll check out the link and hopefully solve this step 1 in a million step process. (kill me)



By MaxxPowr - 3 Years Ago
OMG, it worked. That is so cool.
Had to play with the "Weight map" contrast to get it to hang properly, but it appears to be working.
Saved the cone as a prop and the veil was attached and retained the weight map properties, so Woo Hoo!
Thanks so much!