Search Unity

  1. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  2. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  3. Participate with students all over the world and build projects to teach people. Join now!
    Dismiss Notice
  4. Build games and experiences that can load instantly and without install. Explore the Project Tiny Preview today!
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    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

    raithza

    Joined:
    Dec 14, 2011
    Posts:
    13
    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

    dwaldrum

    Joined:
    Jun 20, 2015
    Posts:
    42
    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

    code42

    Joined:
    Nov 17, 2018
    Posts:
    1
    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