group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
physics::SleepConfig Struct Reference

#include <Sleep.hpp>

Public Attributes

float linearThresh = 0.5f
 Linear velocity below which a body counts as "still".
float angularThresh = 0.1f
 Angular velocity below which a body counts as "still".
uint16_t framesToSleep = 64
 Frames of stillness before a body sleeps (default ~0.5 s at 128 Hz).

Member Data Documentation

◆ angularThresh

float physics::SleepConfig::angularThresh = 0.1f

Angular velocity below which a body counts as "still".

◆ framesToSleep

uint16_t physics::SleepConfig::framesToSleep = 64

Frames of stillness before a body sleeps (default ~0.5 s at 128 Hz).

◆ linearThresh

float physics::SleepConfig::linearThresh = 0.5f

Linear velocity below which a body counts as "still".


The documentation for this struct was generated from the following file: