nicklockwood/Euclid

Real time collision color

PrashantKT opened this issue · 0 comments

Hi @nicklockwood

I want to implement real time color the collided mesh ,
I have checked stencil operation but it takes time to compute , is there any to make it real-time ?
or any other solution out of this library

when two model collide I get call back in this

func physicsWorld(_ world: SCNPhysicsWorld, didUpdate contact: SCNPhysicsContact)

where I have Node A , Node B , Contact point ,

if I can change the color of contact point vertex I think it will work but not sure how to do it

Thanks