mixed-reality-extension-sdk icon indicating copy to clipboard operation
mixed-reality-extension-sdk copied to clipboard

Optimize physics bridge CPU usage for sleeping bodies

Open sorenhan opened this issue 4 years ago • 0 comments

Currently the physics bridge scans through all rigid bodies and then checks non-sleeping bodies if there are relevant changes

Ideally the physics bridge should subscribe to notices from the physics engine for objects that wake up/go to sleep, and then maintain a list of awake rigid bodies, so that when all bodies are asleep there is nothing to scan through.

sorenhan avatar Sep 04 '20 18:09 sorenhan