Rope Physics Toolkit

The Rope Physics Toolkit brings stable and fast rope physics to your project. It can simulate simple wires or more advanced setups with pulleys and weights that require active collision detection. The toolkit includes example scenes that demonstrate how to connect ropes to simulate cranes, rope bridges, swings, and a boxing ring.

The rope component is designed for performance and handles many compute-intensive tasks on separate threads using Unity jobs and the Burst compiler. This results in excellent performance on mobile devices.

The toolkit offers many tweakable user parameters, allowing you to customize the rope's behavior. You can also dynamically split ropes using the SplitAt() method and interact with the rest of the scene using four different rope connection types.

The toolkit includes scene view handles for adjusting rope spawn curves and provides full source code and example scenes for easy integration and customization.

Requirements:

  • Burst 1.1.2 or above

Features:

  • Stable & fast rope physics
  • Mobile friendly
  • Many tweakable user parameters
  • Ability to dynamically split ropes using the SplitAt() method
  • 4 different rope connection types:
  • Pin Rope To Transform
  • Pin Transform To Rope
  • Pull Rigidbody To Rope
  • Two Way Coupling Between Rigidbody And Rope
  • Scene view handles for adjusting rope spawn curve
  • High performance achieved using Unity jobs and the Burst compiler
  • Typical performance for the example scene with collisions enabled:
  • ~0.2 ms spent in job threads
  • ~0.7 ms spent on the main thread
  • Typical performance for the example scene with collisions disabled:
  • ~0.15 ms spent in job threads
  • ~0.35 ms spent on the main thread
  • Full source code
  • Example scenes:
  • Main
  • DynamicAttach
  • BoxingRing

Current Limitations:

  • Collision support for convex Mesh, Box, Sphere, and Capsule colliders only
  • Scripting knowledge required for creating stable rope suspended platforms other than rope bridges

Rope Physics Toolkit - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

Simple Physics Toolkit - Magnet, Water, Wind - VR Ready

Simple Physics Toolkit - Magnet, Water, Wind - VR Ready Thumbnail

Procedural Audio Generation Toolkit

Procedural Audio Generation Toolkit Thumbnail

Advanced Grappling System 2: Realistic Physics and Customization

Advanced Grappling System 2: Realistic Physics and Customization Thumbnail

Bridge Master - Rope Bridge Builder

Bridge Master - Rope Bridge Builder Thumbnail

SpiderWeb 2D Rope Management Script

SpiderWeb 2D Rope Management Script Thumbnail

Realistic Rope System for Unity

Realistic Rope System for Unity Thumbnail