Decal Collider – one-click mesh & physics for decals, alpha-trimmed, runtime API, all render pipelines.🚀 Decal Collider removes the complexity from decal physics and surface projection.Create alpha-trimmed visual meshes and perfectly matching MeshColliders from any decal source in just seconds.No oversized hitboxes, no invisible collision areas — only what you see is what you collide with.Designed for artists and programmers alike, Decal Collider works seamlessly in all Unity render pipelines and supports both editor-time and runtime workflows.✨ Key FeaturesOne-Click Generation – Select your decal source → press Rebuild → visual mesh and collider are generated instantly.Pixel-Perfect Collision – MeshColliders are trimmed directly from the decal’s alpha mask, ensuring accurate physics interaction.18 Projection Modes – Forward, reverse, double-sided, box volume, hemisphere and custom normal projection support.Live Scene Handles – Move, rotate, adjust depth and mesh offset directly inside the Scene view.Runtime & Editor API – Full C# API with XML documentation for procedural decals, pooling systems and analytics.Built-in Statistics Panel – View triangle count, raycast count, build duration and memory usage in real time.Undo-Safe & Prefab-Friendly – Fully compatible with Prefabs, Undo/Redo and works in both Edit and Play Mode.Performance Focused – Zero runtime GC allocations, dynamic LOD support and frustum culling for mobile and VR.Pipeline Agnostic – Automatically detects and supports Built-in, URP and HDRP without manual setup.📂 What’s IncludedCore DecalCollider component (runtime + editor)Custom Inspector, gizmos and visual debugging toolsDemo scenes showcasing real-world decal use casesDocumentation and quick-start guidesCC0 sample textures for testing and learning🔌 How to UseImport the package into your project.Add DecalCollider to any GameObject (mesh, sprite or TMP source).Adjust projection settings and size in the Inspector or Scene view.Click Rebuild — your decal mesh and collider are ready.(Optional) Control everything at runtime using the provided API.🔖 RequirementsUnity 2022.3 LTS or newer (Unity 6 compatible)Render Pipelines: Built-in, URP, HDRPNo external dependencies or plugins requiredNeed help or have a feature request? Join our DiscordThank you for checking out Decal Collider – happy projecting! 🎉🔍 Technical DetailsCompatibilityUnity – 2022.3 LTS or newer (Mono & IL2CPP, fully Unity 6 compatible)Render Pipelines – Built-in, URP (Forward & Deferred), HDRP (2021.3+)Platforms – Windows (DX11/12), macOS (Metal), Linux, Android (GLES3 / Vulkan), iOS (Metal), WebGL 2.0Physics & MeshPixel-Perfect Colliders – MeshColliders are generated by trimming triangles directly from the decal’s alpha maskConvex / Non-Convex Support – Switch per decal for dynamic (Rigidbody) or static usage18 Projection Modes – Forward, reverse, double-sided, box volume, hemisphere and custom normal projectionsPhysX-Safe Assignment – Automatic validation prevents invalid or zero-volume meshes from crashing the physics engineEditor ToolingLive Scene Handles – Move, rotate, offset depth and mesh thickness interactively in Scene viewCustom Inspector – Organized foldout groups: Projection, Mesh, Physics, Alpha Mask, Layers, OptimizationUndo / Redo Safe – Full history tracking with proper Prefab override supportReal-Time Stats Overlay – Triangle count, raycast count, build duration and memory usage (KB)API & ExtensibilityPure C# Source – Fully namespaced, no external dependencies, clean and readable architectureCore API Methods – Build(), RebuildSafe(), AsyncRebuild() and fluent configuration settersRuntime Events – Callbacks such as build start / finish and alpha sampling for analytics or effectsZero-GC Runtime – Cached buffers and zero-allocation rebuilds for mobile, VR and performance-critical projects🧠 How AI/ML Was UsedContent Generation – Sample decal textures and banner images were created with ChatGPT (Dall-E). All outputs were manually curated and retouched; no copyrighted material or AI model files are included in the package.Code Assistance – ChatGPT (GPT-4) acted as a pair-programmer during prototyping, suggesting C# API names, optimisation ideas and documentation drafts. Every line of production code was hand-written, reviewed and unit-tested by the author.Marketing Copy & Docs – ChatGPT helped draft store descriptions, changelogs and manual sections; all text was later edited and approved by a human.No Runtime AI – The shipped asset contains no generative AI at runtime, collects no user data and trains no models.Compliance – The author accepts full responsibility for all included content and confirms adherence to Unity’s AI/ML guidelines.




