Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Need help constraining the cape to a location
#3
(15-02-2020, 10:19 PM)josemendez Wrote: Hi,

If your cape is a skinned cloth (most probably, and if it is not it really should), simply set the skin radius and skin compliance of the particles you want to ignore simulation to zero, as described here:
http://obi.virtualmethodstudio.com/tutor...aints.html

Also, this video should help you understand skin constraints:
https://www.youtube.com/watch?v=usXaFr6N630

If you're using a regular cloth (not recommended for characters), create a particle group containing the particles you want to attach, and then use a ObiParticleAttachment:
http://obi.virtualmethodstudio.com/tutor...ments.html

kind regards

okay, so I figured it out it was due to not having any back faces on the cloth. But once I reimported my mesh with a double facing mesh. I got 
Code:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <437ba245d8404784b9fbab9b439ac908>:0)
Obi.HalfEdgeMesh.CalculateRestOrientations () (at Assets/Obi/Scripts/Cloth/DataStructures/HalfEdgeMesh.cs:282)
Obi.HalfEdgeMesh.Generate () (at Assets/Obi/Scripts/Cloth/DataStructures/HalfEdgeMesh.cs:248)
Obi.ObiSkinnedClothBlueprint+<Initialize>d__2.MoveNext () (at Assets/Obi/Scripts/Cloth/Blueprints/ObiSkinnedClothBlueprint.cs:31)
Obi.ObiActorBlueprint+<Generate>d__68.MoveNext () (at Assets/Obi/Scripts/Common/Blueprints/ObiActorBlueprint.cs:300)
Obi.CoroutineJob+<Start>d__15.MoveNext () (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:99)
UnityEngine.Debug:LogException(Exception)
Obi.<Start>d__15:MoveNext() (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:108)
Obi.EditorCoroutine:ShowCoroutineProgressBar(String, IEnumerator&) (at Assets/Obi/Scripts/Common/Utils/Coroutines/EditorCoroutine.cs:21)
Obi.ObiActorBlueprintEditor:Generate() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:100)
Obi.ObiActorBlueprintEditor:OnInspectorGUI() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:128)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Now I have reimported Obi cloth and also deleted everything for my character including scripts, mesh, and whatnot and also reimported that and then readded all the scripts recreated blueprint I get this error now.
how do I fix this?

so after removing the doubled sided mesh it started working again -_-
Reply


Messages In This Thread
RE: Need help constraining the cape to a location - by invayne - 16-02-2020, 04:31 AM