
Instantly convert any TextMeshPro text into 2D, physics-ready letters, words, or lines. Create dynamic effects from shattering sentences to bouncing words and interactive typography in seconds.This asset is an editor tool and does not include any render pipeline-specific features, making it compatible with the Built-in, URP, and HDRP render pipelines.Dependencies:Requires the TextMeshPro package to be installed.Requires the "TMP Essential Resources" to be imported (via Window > TextMeshPro > Import TMP Essential Resources).Bring your text to life! Text Physics is a powerful and easy-to-use toolkit that adds fully dynamic 2D physics to any TextMeshPro object. Built entirely on Unity's robust internal 2D physics engine, this asset allows you to go beyond static words and create stunning, interactive typography that shatters, bounces, swings, and reacts to player input in seconds.From one-click conversion in the editor to powerful runtime spawning systems, Text Physics is the ultimate solution for creating kinetic typography, dynamic titles, and engaging gameplay mechanics.Core FeaturesNative Unity Physics Integration: Works seamlessly with Unity's built-in 2D physics. All created objects are standard Rigidbody2Ds that interact with your existing physics environment.One-Click Conversion: Instantly convert any TextMeshPro object into a group of physics-enabled letters, words, or lines directly from the editor menus.Powerful Runtime Spawning: Generate dynamic text on the fly with a suite of flexible components, including a real-time Typing Manager, a Batch Spawner for "raining words" effects, and an Instant Spawner to fill any area.Zero-Code Interactivity: Empower players to interact with your text! Use the included Physics Actions to add Explosions, a Vortex, draggable objects, and dynamic Wind with just a few clicks—no coding required.Advanced Grouping & Composites: Go beyond individual letters! Group your text into physical Words or Lines and automatically generate a single, high-performance CompositeCollider2D to make them behave as one solid, breakable object.Precise 2D Colliders: Automatically generate accurate Polygon, Box, or Circle colliders for each letter, with adjustable precision to perfectly balance performance and realism.Automated Asset Pipeline: The asset automatically handles the entire font preparation process, creating and managing font data, sprite atlases, and physics-ready materials for you.Advanced CapabilitiesDynamic Joint & Structure Creation: Don't just drop text—build with it! Use powerful joint builders to create chains, ropes, cloth-like structures, or stable, interconnected webs of text.Hierarchical Destruction: Create satisfying destruction effects where lines break apart into words, and words shatter into individual letters on impact using the powerful runtime splitter components.Full Source Code Included: The complete and commented C# source code is provided.14 Demo Scenes: Get started instantly with a huge collection of pre-configured demo scenes that showcase every major feature.Perfect For Creating:Title screens with shattering or assembling letters.Physics-based word puzzles and educational games.Interactive menus and UI that players can push, drag, and break.Kinetic typography that reacts to gameplay events and forces.Dynamic credits sequences and storytelling elements.Destructible signs and environments that break apart realistically.For support, please check the detailed documentation or contact us via our support email.This asset uses the Roboto Slab font under the Apache 2.0 license, and algorithms for Delaunay Triangulation, Minimum Spanning Tree, and Ramer-Douglas-Peucker polygon simplification under the MIT license. See the Third-Party Notices.txt file in the package for details.Core Engine:Full C# source code is included and commented.Built on top of Unity's native 2D Physics engine for seamless integration and performance.Uses ScriptableObject-based architecture for clean and efficient data management (TPX_FontDataSO, TPX_TextStyleRandomizerSO).Robust runtime factories (TPX_PhysicsWordRuntimeFactory) allow for easy integration with your own gameplay systems and code.Supported Platforms & Pipelines:Designed for 2D workflows.Compatible with all render pipelines (Built-in, URP, HDRP).Compatible with all platforms supported by Unity, including mobile, desktop, and console.Dependencies:Requires the TextMeshPro package (available via the Unity Package Manager).Supports both the legacy Input Manager and the new Input System package.Workflow & Features:Editor Integration: Includes Editor context menus (Right-Click > Convert) and a top toolbar menu (Tools > Text Physics) for a fast and intuitive workflow.Collider Generation: Automatically generates PolygonCollider2D, BoxCollider2D, or CircleCollider2D for letters. The precision of polygon colliders is fully adjustable.Grouping & Performance: Supports grouping by Letters, Words, and Lines. Automatically generates CompositeCollider2D for Word and Line groups for high performance.Automated Asset Pipeline: Automatically processes TMP_FontAsset files to create sliced sprite atlases and specialized materials, including those using the TextMeshPro/Distance Field SSD shader for advanced effects.Custom Inspectors: All major components have custom inspectors for a clean and user-friendly experience.