Mesh Animation - vertex-level deformation effects for any mesh.
No rigging. No shaders. Add squash, shatter, melt, jelly, and
more directly from the Inspector. DOTween-powered.DOCUMENTATIONMesh Animation gives your objects personality without a singleanimator, shader, or rigged bone. Every effect operates directlyon mesh vertices at runtime - works on any MeshFilter, any mesh,any render pipeline.─────────────────────────────────────✅ WHAT'S INCLUDED─────────────────────────────────────💥 Hit SquashThe mesh flattens on impact and snaps back like rubber.Hit a crate from above - it squashes down, then bounces back up.Control which part absorbs the hit: top, bottom, or centre.Want it to stay crushed? Toggle "Return to Original" off.🫧 Death BloatThe mesh puffs outward like an inflating balloon, then collapses.Flip to Inward mode for the opposite: a vacuum-suck implosion.Add auto-destroy after collapse for instant cleanup.🌊 Jelly TapA wobbling wave spreads out from exactly where you touched the mesh.Poke a jelly cube - the ripple starts at your finger, not the centre.Works from any world-space point, so every tap feels unique.🌬️ BreatheThe mesh gently expands and contracts on a loop, like it's breathing.Perfect for ambient life - a sleeping creature, a pulsing orb, a living wall.Amplitude and falloff control how dramatic the pulse feels.🏗️ Building EmergeThe mesh rises up from underground with a satisfying squash-and-pop landing.Spawn a building, a character, or a prop as if it's erupting from the earth.The mid-air squash and snap on landing make every appearance feel physical.🌀 TwistVertices rotate around an axis - like wringing out a wet cloth.A pillar winds up, holds, then unwinds back to rest.Yoyo mode swings left → right → centre for a pendulum feel.A curve controls how much each part of the mesh participates.🔴 Dent ImpactHits leave permanent dents that accumulate across multiple strikes.Hit a metal panel repeatedly - each blow leaves a deeper crater.Dents follow the surface curve, so craters look correct on rounded meshes.Includes an undo stack to reverse individual hits if needed.🔵 Shockwave RingA ring-shaped ripple expands outward from the impact point.A bomb explodes - a visible wave rolls across the ground mesh.Control ring width, speed, and how fast the wave fades out.Multiple rings stack together when hits overlap.🤸 Stretch PullThe mesh stretches from one end toward the opposite side like taffy.Pull a character upward - the body elongates and the base squashes down.Volume-conserving squash keeps the overall silhouette believable.🌫️ Morph NoiseThe surface breathes and writhes with layered Perlin noise over time.Give a lava blob, alien skin, or magic shield a constantly shifting surface.💦 Melt DroopVertices above a horizontal line start drooping downward.Lower the melt line progressively for a real-time melting effect.📄 Crumple CollapseEach vertex collapses with its own timing and wobble,so the result looks like paper being crumpled - not a uniform shrink.Three modes: random chaos, peeling from the outside inward,or pure timing noise for a subtler organic collapse.💨 Vertex ScatterVertices fly apart in all directions, then fall and settle.An explosion sends debris outward with realistic gravity pull.Restrict scatter to the top half of the mesh for a surface burst.Call Reseed() before each hit for a unique pattern every time.─────────────────────────────────────🔧 ARCHITECTURE─────────────────────────────────────One component - MeshAnimation - on any MeshFilter object. No ScriptableObject assets, no prefab variants, no setup scenes.Add animations via the "Add Animation" button in the Inspector.The menu is auto-populated - any new effect subclass appears automatically, no hardcoded lists.Legacy Input and the new Input System package.MeshAnimationInteract: a single interaction component with sixindependent trigger types - Hover, Hold, Proximity, Impact,Scroll, and Spawn. Enable only the sections you need;disabled sections have zero runtime cost. Supports bothCollider sync: MeshCollider, BoxCollider, SphereCollider, and CapsuleCollider all update automatically each LateUpdate so physics follows the deformed shape.Edit Mode preview: scrub any animation in the Inspector without entering Play Mode. The mesh updates in the Scene view in real time.─────────────────────────────────────🛠 REQUIREMENTS─────────────────────────────────────DOTween (free or Pro) - available on the Asset StoreMeshes must have Read/Write Enabled in Import SettingsWorks with Built-in, URP, and HDRP render pipelines─────────────────────────────────────🚀 GET STARTED IN MINUTES─────────────────────────────────────Add MeshAnimation to any object with a MeshFilter →click Add Animation → pick an effect →hit Play in the Inspector → ship.🔥 Other assets:Top Down - Rogue-like EngineUI AnimationVariable Scout - Hierarchy Search & Inspector Tool⭐️ Feedback and feature requests are always welcome.

