Physics Manager Rectangle Test only returns Colliders attached to Dynamic Rigidbodes

Hello! I’m using the rectangle test as mentioned in the documentation:

let rect: cc.Rect = new cc.Rect(0, 0, 400, 400);
let colliderList = cc.director.getPhysicsManager().testAABB(rect);

This only returns colliders attached to Dynamic Rigidbodies. How do I get it to return colliders attached to other types of Rigidbodies?

Thanks!