Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

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.