View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.2.0
- Last updated
- First released
- Unity version
- 6000.0.62 or later
- Package size
- 68 KB
- Files
- 22
- Favorites
- 3
- Views in the past week
- 25
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Easy 2D Worm - Procedural Snakes, Tentacles & Physics
A highly optimized, zero-setup procedural animation system for Unity 2D. Instantly create organic snakes, tentacles, worms, and dynamic trails using pure array math instead of heavy rigidbodies.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 9
Easy 2D Worm - Procedural Snakes, Tentacles & Physics screenshot 1
About this asset
Instantly create organic, slithering creatures and dynamic trails in Unity 2D.
Whether you are building a snake, adding tentacles to a boss fight, or creating dynamic player tails, Easy 2D Worm handles the complex math for you.
🎮 [ Click Here to Play the Live WebGL Demo ]
📖 [ Click Here to Read the Online Documentation ]
🎬 [ Click Here to Watch the Video Showcase ]
Unlike standard Unity 2D physics joints (which can be unstable, heavy on the CPU, and prone to "jittering") this system uses a custom, highly optimized "follow-the-leader" algorithm. It calculates hundreds of segments instantly via lightweight array math without spawning a single GameObject for the body, ensuring maximum performance and zero hierarchy clutter.
🌟 KEY FEATURES
• Zero Setup Required: Just drag the prefab into your scene, move the head, and the body follows automatically.
• Jitter-Free Stability: No exploding physics chains. The custom math ensures body segments always follow smoothly, no matter how fast the target moves.
• Highly Optimized: Does not rely on expensive Rigidbody2D components and calculates movement via pure array math with zero GameObjects spawned. Perfect for mobile.
• Line Renderer Integration: Automatically drives a standard Unity Line Renderer to draw the creature's body beautifully, with native visual overlapping (head always renders on top).
• Dynamic Resizing: Change physical length and quality (segment count) in real-time for seamless squash and stretch effects.
• Preset System: Save and load creature configurations (Colors, Curves, Sizes) using ScriptableObjects.
• Custom Shaders: Includes custom shaders for smooth, resolution-independent anti-aliased rendering.
📦 WHAT'S INCLUDED
• Clean, fully documented C# Source Code.
• Ready-to-use pre-configured Worm Prefab.
• Comprehensive Demo Scene featuring an organic wander mode, interactive UI controls, preset switching, custom shaders, and advanced dynamic shadows.
• Detailed offline and online documentation.
⭐⭐⭐⭐⭐ Leave a Rating!
If Easy 2D Worm helps your project, please consider leaving a 5-star review!
Need Support?
Email is the fastest way to reach me. If you encounter any issues, please contact me before leaving a review at [email protected].
(Please include "[Easy 2D Worm]" in the email subject line so it doesn't get caught in spam)
From the publisher's Asset Store listing.
Technical details
• Core Architecture: Uses a custom, pure array-based procedural algorithm ("follow-the-leader"). Zero GameObjects are spawned for the body, ensuring 100% stable movement without chain-snapping.
• Performance: Zero GameObject instantiation and zero garbage collection at runtime. Calculates hundreds of segments via lightweight array math, making it incredibly cheap on the CPU.
• Visuals: Syncs physics arrays directly to a Line Renderer. Features inverted visual rendering (head natively on top) and includes custom Shader Graphs for crisp, anti-aliased edges.
• Dynamic Control: C# API supports runtime modification of physical Length and Quality for seamless squash and stretch effects.
• Data Management: Includes a ScriptableObject-based Preset system to easily save, load, and swap creature configurations (curves, gradients, sizes) at runtime.
• Zero Gravity: Designed for entities that move under their own power (kinematic-style tracking).
• Compatibility: Works with All Render Pipelines (Built-in, URP, HDRP).
• Platform Agnostic: Works flawlessly on PC, Mobile, and WebGL.
• Limitations: Strictly 2D tracking (ignores Z-axis). No native body collision detection (purely visual/kinematic tracking to preserve high performance).
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 6000.0.62f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.