Vixen
02b45cc4
csharp
public enum PhysicsBroadPhase

Whether bodies on a layer move. The broad phase is split on this, and nothing else.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Jolt keeps one bounding-volume tree per broad-phase layer and never tests a pair drawn from the same static tree, so putting the level geometry on a Static layer is what stops a hundred thousand immobile triangles from being considered against each other every step. It is a performance classification and not a collision one: what collides with what is the layer matrix below.

Fields and properties (2)

  • Static

    Bodies that do not move. Level geometry, triggers bolted to a wall.

  • Moving

    Bodies that do. Anything dynamic or kinematic.

Used by (4)

  • BuilderVixen.Physics
  • PhysicsLayerTestsVixen.Physics.Tests
  • PhysicsLayersVixen.Physics
  • PhysicsWorldTestsVixen.Physics.Tests