Table of Contents

Property EnableSleep

Namespace
Box3D
Assembly
Box3D.NET.dll

EnableSleep

Gets a value indicating whether bodies may sleep when they stop moving.

public bool EnableSleep { get; init; }

Property Value

bool

Remarks

A large performance win for scenes that come to rest. Turn it off only if something depends on every body being stepped every frame.