Smart Glass Break – Unity Template

Smart Glass Break is a lightweight, plug-and-play Unity template that allows you to break glass at runtime exactly from the hit point.

With a simple Break(hitPoint, hitNormal) call, meshes are sliced into shards and pushed outward using physics, creating a clean and controllable break effect suitable for FPS games, simulations, prototypes, and interactive environments.

No pre-fractured meshes required.

Features

  • Runtime mesh slicing and shard generation
  • Hit-point based breaking (click where it breaks)
  • Directional outward force from impact point
  • Optional single-face biased slicing
  • Re-breakable shards with configurable limits
  • Automatic physics setup (Rigidbodies + MeshColliders)
  • Demo scene included

How It Works

  1. The mesh is sliced into fragments at runtime using random slice planes
  2. Shards near the impact point are selected and spawned
  3. Physics forces push shards outward from the hit position
  4. Shards are cleaned up automatically after a set lifetime
  5. Remaining shards can be broken again if enabled

Customization

Easily tweak:

  • Fragment count and size
  • Slice direction randomness
  • Impact density radius
  • Outward force, torque, and randomness
  • Shard lifetime and re-break limits

All settings are exposed in the inspector.

Included

  • RuntimeShardBreakable scripts
  • Mesh slicing system
  • Demo scene
  • Short documentation (README.md)

Use Cases

  • FPS / TPS games
  • Glass windows & destructible props
  • Prototyping destruction mechanics
  • Sandbox or simulation projects

Requirements

  • Unity 2021+
  • Built-in Render Pipeline (URP compatible with minor material adjustments)

Notes

  • MeshCollider (convex) is automatically added to shards
  • Designed for small to medium meshes (ideal for glass, props, panels)
  • Optimized for clarity and ease of integration

🎯 Break smart. Break exactly where you click.

Purchase

Buy Now$2.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $2 USD. You will get access to the following files:

OwloraSmartGlassBreak_UnityTemplate.unitypackage 1.3 MB

Leave a comment

Log in with itch.io to leave a comment.