PhysicsAPI reference
Class CollisionLayers
Namespace: MicroEngine.Physics
Assembly: MicroEngine.Physics.dll
Guide: Physics worlds
The collision layers of the contract: 64 bits, any meaning the game gives them. A shape is in the layers of its Category and collides with the layers of its Mask; two shapes collide only when each one’s mask holds the other’s category.
public static class CollisionLayersInheritance
Fields
All
Every layer.
public const ulong All = 18446744073709551615Field Value
Default
The layer shapes and queries are in by default (bit 0).
public const ulong Default = 1