04-03-2021, 03:19 PM
(This post was last modified: 04-03-2021, 03:20 PM by JhonatasFarias.)
(04-03-2021, 08:42 AM)josemendez Wrote: Layers are only used by Unity's built-in engine. Obi doesn't use them for a variety of reasons, mostly performance-related.
I don't see why you can't use phases for this, remember the rule is:
- Objects (colliders, particles) with the same phase will ignore each other.
- Objects with different phases will collide with each other.
You can place your cloth in one phase and your ropes in other, then set the colliders in the same phase as the cloth. They will repel the ropes and ignore cloth.
In some situations more detailed filtering is needed (such as the one provided by the layer collision matrix), but unfortunately this is overkill to have with particles.
Also remember that unless you add a ObiCollider component to an object, it will be entirely ignored by Obi.
I tried to do that but I have multiple cloth-blueprints. Earlier when I was too noob for the asset all those blueprints had the same phase and I changed the phase to collide with each other as I saw in the manual. Still yet cloths with the same phase (same blueprint) didnt collide so I hit "self collision". I'm wondering know: I didnt tried yet if setting all diferrent blueprints to the same phase and keep "self collision" enabled all the cloths will collide with each other, if it does then I can do what you said.