Chipmunk2D Unity Documentation | Main Page | Forum

Manual

Tutorials

API

Classes

Structs

Enumerations

ChipmunkShape.layers

var layers : uint

Description

A bitmask of which Chipmunk layers a shape is in.

Chipmunk layers are not the same as Unity layers and are only an abstract value that can be set from editor scripts. Two shapes will collide if they share at least one layer, and shapes can exist in multiple layers.