Zapp image

Physics Sensor - Like HitTest
by Dr Abstract
Here we use the sensor parameter of addPhysics() to make an object not interact with physics but still trigger physics.contact() and phsyics.contactEnd().
https://zimjs.com/zapp/Z_AAM9C
Circle Rectangle Label drag addPhysics cur pos alp reg Physics | physics

PROMO

EDITOR

FULL

SLATE

ZIM is a JavaScript Canvas Framework for everyone to Code Creativity! ZIM