Skip to content

PhysicsBodyComponent.SleepThreshold Property

Definition

Namespace: Brine2D.ECS.Components

The sleep speed threshold for this body in simulation units per second. When the body's linear and angular speed drops below this value it becomes eligible for sleeping. Set to 0 to use the Box2D world default. Changes on a live body apply immediately.

public float SleepThreshold { get; set; }

Property Value

System.Single