Tensio is a cutting-edge rope simulation framework designed for developers who need more than just a visual line renderer. Whether you are building a physics puzzle, a swinging mechanic, or a realistic environment, Tensio provides the stability and performance required for gameplay-critical physics.
Built on the Extended Position Based Dynamics (XPBD) method, Tensio simulates elasticity, stiffness, and mass with high precision. It fully leverages Unity's Data-Oriented Technology Stack (DOTS) to handle hundreds of particles across multiple ropes with minimal CPU overhead.
Key Features
- XPBD Physics Solver: Stable, jitter-free simulation that supports both stretchy elastic ropes and rigid, non-stretching chains using sub-stepping.
- Two-Way Coupling: Real physics interaction; ropes can pull Rigidbodies, and Rigidbodies can pull ropes.
- Environment Collision: High-performance SphereCast collision for continuous detection against static and dynamic world geometry.Advanced Collision:
Self-Collision: Ropes won't pass through themselves.
Inter-Rope Collision: Multiple ropes can tangle and interact complexly.
- Aerodynamics: Built-in wind and turbulence simulation with air drag.Dynamic Interaction:
Runtime Cutting: Slice ropes at any point in real-time.
Grabbing & Pinning: Attach particles to objects or move them via script.
- Procedural Rendering: Smooth, tube-based mesh generation with support for textures, normal maps, and UV tiling. Includes Visual Stress (ropes thin out/change color under tension) and specialized Chain Rendering.
- Editor Tools: Intuitive Bezier curve editing for defining initial rope shapes directly in the scene view.
Immersive Procedural Audio:
- Tension-Based SFX: Dynamic creaking and snapping sounds that automatically modulate pitch and volume based on real-time physical stress. Hear the rope strain before it breaks!
- Velocity Whoosh: Aerodynamic wind sounds driven by the speed of individual rope particles during swings.
- Spatial Accuracy: Sound sources follow the exact point of highest tension or impact along the curve for fully 3D spatialized audio.
Third-Party Notice: This asset uses various audio and texture files under the CC0 1.0 Universal License; see the Third-Party Notices.txt file in the package for details.