Hi all,

I was wondering if the events "BeginContact" and "EndContact" are available on the b2.ContactListener object? I&039;m seeing a lot of Box2D documentation for other platforms mentioning it, but all I can see in Dominic's Box2D port are #Add, Persist, Remove and Result.

Is there another, perhaps more up to date, port of Box2D for ImpactJS available? Or is there a way that I can replicate this functionality (being able to detect the start and end of collisions, specifically with sensor objects – like so) with the existing code base?

The crux of what I'm trying to do is imitate a black hole together with its gravitational pull and surrounding event horizon (which are implemented as sensors). Forces are exerted on particles within a certain radius, therefore I need to be able to tell when particles "BeginContact" and "EndContact" with certain sensor objects.

Thanks in advance!