Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Positioning objects with configurable joint

Discussion in 'Physics' started by U-GeeN, May 24, 2016.

  1. U-GeeN

    U-GeeN

    Joined:
    Mar 22, 2015
    Posts:
    95
    Can someone please explain to me how exactly a Joint drive works?
    It has three parameters:
    Spring, Damper, MaxForce
    But how exactly do they effect the actual force that is applied on the child object?

    Is it possible to control position with a drive? (Comparable to a PID control)
    Because what I want is a more or less precise positioning of the jointed object.
    I’ve played around with Damper. By changing the value depending on the distance to the destined position
    But it becomes somewhat uncontrollable as soon gravity is activated.
    Are there other ways for positioning objects?