Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkCollisionManager.ChipmunkBegin_type1_type2()

function ChipmunkBegin_type1_type2(arbiter : ChipmunkArbiter) : bool

Parameters


arbiterThe arbiter for this collision.

Returns

bool - A boolean specifying whether the collision between these two shapes should be ignored. If ignored, the separate method will be called, but the pre/post solve methods will not.

Description

Called on the first fixed time step that two shapes with the given ChipmunkShape.collisionTypes begin colliding.

The primary purpose of this function is to allow for efficient collision events and filtering if you only care about the initial collision between two shapes.