Manual:

Tutorials:

API:

ChipmunkArbiter.surfaceVelocity

var surfaceVelocity : Vector2

Description

Modify the computed relative surface velocity of the colliding shapes.

Defaults to shapeB.surfaceVelocity - shapeA.surfaceVelocity and then projected onto the collision plane.
NOTE: This must be done in a @ChipmunkCollisionManager@ pre-solve method.