Skip to content

Real time collision color  #99

@PrashantKT

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

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