mixed-reality-extension-sdk
mixed-reality-extension-sdk copied to clipboard
Optimize physics bridge CPU usage for sleeping bodies
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.