Trigger volume in p2.js

I am using p2.js library instead of standard physics engine of playCanvas. I am unable create a trigger volume . I want to use “Trigger” as Trig. Vol. to trigger an event.

Sounds like you will need to use sensor on the p2 shape and listen for contact events

1 Like