Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Can't set a joint's Drive Mode (positional/velocity) in 5.5

Discussion in 'Physics' started by raithza, Jan 23, 2017.

  1. raithza


    Dec 14, 2011
    I can't find the toggle for setting a joint's Angular Drive to be velocity based or positional in 5.5.

    Here's a screenshot from the manual, showing the option:

    Here's a screenshot of the Configurable joint in 5.50f3:

    Am I missing something here? Bug? Omission?
  2. dwaldrum


    Jun 20, 2015
    The manual is outdated.

    You don't set an explicit drive mode anymore.

    If you want to target a velocity, you set the target velocity and then a damper value. The force will then be (target velocity - current velocity) * damping value

    So make sure when setting velocity you also set a positive damper.

    For target position same thing, except set a spring value.

    You can set both and this will give you a dampened spring.

    For more information checkout the physX 3 manual on joint drives. They have the formulas there that are used to drive the joints.
  3. code42


    Nov 17, 2018
    example: to achieve bouncing effect set value at the Target Position, Target Velocity and the Y Drive. Screenshot 2018-12-03 at 4.13.32 PM.png