Help Need help constraining the cape to a location - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Cloth (https://obi.virtualmethodstudio.com/forum/forum-2.html) +--- Thread: Help Need help constraining the cape to a location (/thread-2049.html) |
Need help constraining the cape to a location - invayne - 15-02-2020 So I am trying to set constraints to my cape so that only a part of it simulates cloth is there a way to do this? below is a before and after. I only want the bottom half of my cape to simulate cloth. RE: Need help constraining the cape to a location - josemendez - 15-02-2020 (15-02-2020, 07:48 PM)invayne Wrote: So I am trying to set constraints to my cape so that only a part of it simulates cloth is there a way to do this? below is a before and after. 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/tutorials/skinconstraints.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/tutorials/attachments.html kind regards RE: Need help constraining the cape to a location - invayne - 16-02-2020 (15-02-2020, 10:19 PM)josemendez Wrote: Hi, 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. 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 -_- RE: Need help constraining the cape to a location - josemendez - 16-02-2020 (16-02-2020, 04:31 AM)invayne Wrote: 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 Double sided meshes are non-manidold (every face is non-manifold in fact, so that's as non-manifold as you can get a mesh to be). Obi doesn't support non-manifold meshes, as explained in the manual: http://obi.virtualmethodstudio.com/tutorials/clothsetup.html Two-sided cloth is generally easier, better and much more efficiently done using a shader. RE: Need help constraining the cape to a location - invayne - 17-02-2020 (16-02-2020, 08:28 PM)josemendez Wrote: Double sided meshes are non-manidold (every face is non-manifold in fact, so that's as non-manifold as you can get a mesh to be). Obi doesn't support non-manifold meshes, as explained in the manual: yeah, I ended up changing my toon shader to have culling turned off. I have yet to have a chance to try to get the cape to work right just yet. I should be able to take a look at it today. Hopefully, I can get it working. RE: Need help constraining the cape to a location - invayne - 17-02-2020 okay after much trial and error I am finally getting there. but I am still having an issue with stretching. here is two pictures to show what I mean. is there any way to fix this? okay, I fixed the particles. But I have an issue with animations and the connection between the two sections of the top and bottom of the cape. when it animates the connecting particles stretch by a lot. I marked off where the stretching is. I tinkered around but can not figure out what is causing this. |