Search Unity

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:
    21
    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:
    48
    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.
     
    ghostravenstorm likes this.
  3. Deleted User

    Deleted User

    Guest

    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
     
  4. ghostravenstorm

    ghostravenstorm

    Joined:
    Oct 18, 2015
    Posts:
    88
  5. someonethatis

    someonethatis

    Joined:
    Jan 14, 2020
    Posts:
    1
    the manual is out dated