Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkBody.EachArbiter()

function EachArbiter(delegate : Chipmunk.EachArbiterDelegate) : void

Parameters


delegateThe delegate function to call to iterate the active arbiters for the body.

Description

Uses a delegate function to iterate over the ChipmunkArbiter structs associated with this rigid body.

When iterating arbiters, shapeA returned by ChipmunkArbiter.GetShapes() will always be the shape attached to the body your are iterating over.