Property CanSleep
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CanSleep
Gets a value indicating whether the body may fall asleep when it stops moving.
public bool CanSleep { get; init; }Property Value
Remarks
Sleeping is a large performance win; turn it off only when something depends on the body being stepped every frame.