onCollisionCallback property

CollisionCallback<T>? onCollisionCallback
getter/setter pair

Assign your own CollisionCallback if you want a callback when this shape collides with another T.

Implementation

CollisionCallback<T>? onCollisionCallback;