Collision Presets 1.0 Tools 4.5 Community
Submitted by user AdrienLucas; MIT; 2026-02-17
Godot already provides 32 collision layers, but managing them across large projects quickly becomes error-prone.
A simple editor plugin for Godot 4 that turns manual collision layer and mask setup into reusable named presets.
Instead of remembering bitmask integers or ticking boxes on every physics object, you define named presets (like “Player”, “Enemy”, “Trigger”) once and apply them with a single click in the editor. The plugin also generates safe constants for use in code and keeps assigned presets in sync at runtime.
The plugin features:
- A clean preset UI integrated into the CollisionObject inspector.
- Central preset database stored in a resource, ready for version control.
- Automatically generated CollisionPresets constants for autocomplete.
- Runtime sync via an autoload so presets are applied when the scene runs.
- Metadata-based storage so scene inheritance and version control work naturally.
Lookup the GitHub readme for examples and documentation.
https://github.com/Adrien-Lucas/godot-collision-presets
Works with both 2D and 3D physics objects.
View files Download Submit an issue Recent Edits