Skip to content

Real time collision color  #99

Description

@PrashantKT

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions