BT-DestructX 2D: Intelligent Multi-Algorithm Fragmentation & Destruction System
Barkin Tufan
$16.00
$32.00
50%OFF
(no ratings)
Jump AssetStore
Instantly shatter any 2D sprite with 5+ intelligent algorithms (Voronoi, Slice, Grid). Creates dynamic, physics-based destruction effects.Elevate Your Game's Impact with Advanced 2D DestructionStop using simple particle effects for destruction. BT-DestructX 2D gives you the power to dynamically shatter any sprite into real, physics-based fragments. This system provides the intelligent, multi-algorithm approach seen in high-end 2D titles, allowing you to create satisfying destruction for any object from brittle glass and splintered wood to shattering rock.🎯 Core Fragmentation EngineIntelligent Multi-Algorithm System: Go beyond simple grids. Choose from 5 distinct algorithms to match your object's material:Voronoi: Creates natural, cell-like patterns perfect for rock, glass, and organic surfaces.Slice: Shatters objects along parallel lines, ideal for blade cuts or directional impacts.Radial: Explodes objects outward from a center point, perfect for explosions.Irregular Polygon: Generates randomized, chunky fragments for a chaotic look.Grid: A classic, uniform fragmentation for mechanical or simple objects.Impact-Aware Slicing: Automatically detects the impact direction to orient Slice fragments dynamically.Smart Texture Sampling: Each fragment is created from the original sprite's texture, ensuring visual consistency.Optimized Collider Generation: Automatically generates a BoxCollider2D and Rigidbody2D for every fragment, ready for physics simulation.🚀 Dynamic Physics & InteractionAdvanced Force Control: Fine-tune the physics of every shatter. Control the base Explosion Force, add an Upward Force Multiplier for a satisfying "pop," and apply Random Torque for realistic rotation.Full Physics Customization: Set the Mass, Gravity, and Air Resistance for all fragments to simulate different material weights."Settle & React" System: Fragments don't just disappear. They can settle on ground layers, become isKinematic to save performance, and then realistically react by re-enabling physics if the "Player" tag touches them.Intelligent Ground Interaction: Fragments have adjustable Ground Bounce and Ground Friction. They also feature an anti-penetration check to prevent them from getting stuck inside ground colliders.🎨 Visual Lifecycle & EffectsAutomatic Lifecycle Management: Define a Fragment Lifetime to ensure fragments are automatically cleaned up and destroyed.Configurable Fade & Scale: Enable smooth Fade Out and Scale Down effects. These can be configured to start after a delay, or specifically when the fragment has landed on the ground.Custom Visual Overrides: Easily override the original sprite's appearance. Tint all fragments with a uniform Fragment Color or apply a custom Fragment Material for stylized effects like "ghost" or "hologram" destruction.🎮 Easy Integration & ControlFlexible Trigger System: No coding required for simple setups. Automatically trigger fragmentation when the object is OnDestroy or OnDisable.Full Scripting API: Manually trigger fragmentation with TriggerFragmentation(). You can even pass in a precise Vector2 impactPoint to make the explosion originate from an exact pixel—perfect for bullet hits.Clean, Tabbed Inspector: A professional, easy-to-use custom editor organizes all settings into logical tabs (General, Fragment, Physics, Visual, Triggers) for a rapid workflow.Runtime Control: Enable or disable the entire fragmentation system at runtime with a single API call (SetFragmentationEnabled).🛡️ What You GetFull C# Source Code5 Fragmentation Algorithms in one powerful component.Comprehensive documentation.5 Intelligent Fragmentation Algorithms: Includes Grid, Irregular Polygon, Voronoi, Slice, and Radial fragmentation patterns.Dynamic Impact-Aware Slicing: The Slice algorithm can automatically use the impact direction to determine its angle.Full Physics Control: Exposes detailed settings for fragment Rigidbody2D properties, including Mass, Gravity, Air Resistance, Bounce, and Friction.Advanced Force Application: Customize explosion physics with settings for Explosion Force, an Upward Force Multiplier, and Random Torque.Automatic & Manual Triggers: Start fragmentation automatically via OnDestroy or OnDisable, or manually call TriggerFragmentation() from your own scripts.Precise Impact Point API: Manually specify a Vector2 impact point to ensure the explosion originates from the exact location of a projectile or hit.Smart Fragment Lifecycle: Each fragment runs an independent FragmentBehavior script that manages its own lifetime, visual effects (fade/scale), and physics state."Settle & React" Physics: Fragments can settle on "Ground" layers (becoming kinematic to save performance) and re-activate their physics if touched by an object tagged "Player".Anti-Penetration Logic: Includes a check to help prevent fragments from getting stuck inside ground colliders upon high-velocity impact.Visual Customization: Option to override the original sprite's appearance, applying a custom Color tint or Material to all generated fragments.Tabbed Custom Inspector: A clean, professional custom editor organizes all settings into logical tabs (General, Fragment, Physics, Visual, Triggers) for a fast workflow.AI is used only in the Product's logo.