Is there a way to remove all colliders at once? I have a large scene made in Blender, where many of the objects have mesh colliders. However, mesh colliders are a bit inefficient compared to using primitives. I would like to get rid of all mesh colliders, so that when I export to a game engine I can manually approximate the collisions using primitives such as cubes, added in-engine.

Is there a way to remove all colliders at once? If not, how do I remove colliders from specific objects? I don't see anything enabled in the "Physics Properties", but the objects still have colliders when imported into a game engine. I'm using Blender 2.83 and Godot 3.2.2 (both are betas).
This script removes all colliders from the active view layer :

import bpy

for obj in bpy.context.view_layer.objects:
    if obj.rigid_body:
        bpy.context.view_layer.objects.active = obj
        bpy.ops.rigidbody.object_remove()


How to run a script