I am using a spherical trigger to track bodies colliding with it. This is something like a vision system for specific bodies. It works fine with Unity.Physics and Havok physics with sleeping off.
Problems arise when I turn on “Enable sleeping” mode. If the bodies stop moving, they stop interacting with the trigger and ITriggerEventsJob Execute callback are not called any more for that bodies. So they disappear from vision.
I want to use Havok with sleeping enabled, that improve performance for many other physics bodies that should not interact with vision system. Can I somehow prohibit sending certain bodies to sleep? Or write a system that wakes up certain bodies at each fixed step if they are sleeping (maybe by removing specific tag which excludes the body from physics calculations)?