Obi Official Forum
Did ObiCloth support 3rd party mesh collider script? - 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: Did ObiCloth support 3rd party mesh collider script? (/thread-970.html)



Did ObiCloth support 3rd party mesh collider script? - akuei2 - 11-03-2019

https://assetstore.unity.com/packages/tools/physics/rascal-skinned-mesh-collider-134833

This stuff can generate mesh collider in run-time.
So, did it compatible with obi cloth( obi collider )?
If yes, it's so wonderful to create accurate simulation.


RE: Did ObiCloth support 3rd party mesh collider script? - josemendez - 11-03-2019

(11-03-2019, 03:48 PM)akuei2 Wrote: https://assetstore.unity.com/packages/tools/physics/rascal-skinned-mesh-collider-134833

This stuff can generate mesh collider in run-time.
So, did it compatible with obi cloth( obi collider )?
If yes, it's so wonderful to create accurate simulation.

Hi,

No, Obi only supports built-in colliders. Support for third party collider implementations must be done on a per-case basis. It depends a lot on how the third-party collider implementation works.

Anyway if you were planning on using this for character clothing, the traditional approach to this (animation/simulation blending) is fully supported by Obi, and doesn't even need to perform collision detection in most cases. Using a mesh collider for character-cloth collision is extremely unrealiable (in addition to inefficient) due to tunneling, so it is generally a very bad idea unless you're using extremely small time steps.

See:
http://obi.virtualmethodstudio.com/tutorials/unitychanclothing.html
http://obi.virtualmethodstudio.com/tutorials/skinconstraints.html