AutoColliders
AutoColliders is a Godot Engine plugin for automatic collider generation, initially focusing on 2D CollisionPolygon2D nodes and with plans to expand to 3D meshes. It simplifies the process of creating collision shapes for sprites directly within the editor.
https://github.com/graycastle/godot-AutoCollidersPreview Images


AutoColliders: Streamlining Collider Generation in Godot
AutoColliders is a plugin designed to automate the creation of colliders for nodes within the Godot game engine. Currently, the plugin focuses on generating colliders for CollisionPolygon2D nodes, primarily used with 2D sprites. The roadmap includes expanding its capabilities to handle collider generation for 3D meshes as well.
Key Features
- Automatic Collider Generation: Automatically creates CollisionPolygon2D colliders for Sprite nodes.
- Real-time Updates: Colliders update in real time within the editor as sprite properties change.
-
Padding Control: Allows scaling the collider size relative to the sprite using the
padding_percent
property. - Freeze Option: Prevents further changes to the collider by freezing it in its current state.
- Manual Regeneration: Provides options to clear and regenerate colliders manually for troubleshooting or specific use cases.
Installation and Usage
Installation is straightforward: download the addons/autocolliders
directory, place it in your project's res://addons/
folder, and enable the plugin in Project Settings. After enabling the plugin, the AutoColliderSprite
node becomes available, functioning similarly to a standard Sprite node but with automatic collider generation capabilities.
Roadmap
The plugin is under active development, with planned enhancements including improved handling of sprite rotation and scale, better padding implementations, support for subtracting interior transparent sections for complex collision shapes, and expansion to 3D mesh collider generation.