Hi
I just to to confirm if colliderA is always the sender. If not, I think it should be since most likely we need to do the test in the event callback.
colliderA is sender always?
Re: colliderA is sender always?
ColliderA is the 'first' entity of the pair as determined by the broadphase, and the broadphase does not take into account events. So no, colliderA is not always the sender.
I'll see what I can do to make the event testing a little less redundant, but it probably won't make it into v0.10.0.
I'll see what I can do to make the event testing a little less redundant, but it probably won't make it into v0.10.0.
Re: colliderA is sender always?
Turns out it made it into v0.10.0.
Relevant events now also have an "other" entity parameter which is whichever collider that isn't the sender.
Relevant events now also have an "other" entity parameter which is whichever collider that isn't the sender.