Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question What is the best way to make a rope/hose physics

Discussion in 'Physics' started by Aliamba, Jun 18, 2020.

  1. Aliamba


    Feb 29, 2020
    I am currently working on a small 3D top-down game where the main mechanic is based on a rope system. This is not a simple swinging rope, the player have a water hose in hand so he has a maximum distance he can reach and the hose can be stuck in objects. Eventually, the hose may stuck in other players hoses if i make this game in coop.

    Now that you know the main idea of the game and the way i want the hoses to work, my question is, how would you build that "rope" system?

    The only solution i have tried so far is a bunch of capsules rigidbodies with joint. I tried character joints and configurable joints. Its not bad but it have its limits. When i apply too mush force or when it is stuck in an object, the capsules starts jittering.

    What would be the best way to make that water hose?
  2. tjmaul


    Aug 29, 2018