- Home /
Make mesh from overlapping colliders/triggers
I have two colliders (one of them is a trigger) and they overlap. I'd like to create a new mesh from the overlapping part of the collider and trigger.
Maybe this picture makes things clearer:
I've looked at this, however it seems it only works for point of contact, and I don't think I can make a mesh from just contact points. I guess I'd have to get all the points where there is an overlap and then build a mesh with triangles.
They are both Physics2D if it makes any difference. (Although I can use 3D Physics as well)
Thanks for any help! :)
Your answer
Follow this Question
Related Questions
Attaching multiple rigidbodies together and spawnning as prefabs 1 Answer
Mecanim: undesired mesh intersections 0 Answers
(2D intersection+picture)How to show up the invisible object when intersect with another object. 1 Answer
Editing Mesh Colliders? Creating a usable pot/cup 1 Answer
Shader - Hide self overlapping mesh 1 Answer