Search Unity

Telescope joint?

Discussion in 'Physics' started by LR-Developer, Mar 4, 2019.

  1. LR-Developer

    LR-Developer

    Joined:
    May 5, 2017
    Posts:
    109
    Hello,

    I am developing a Kind of robot Simulation app. Different robot arms and parts can be simulated.

    I have already added hinge Joints for rotation axis, and use a child Hierarchie to have a Translation axis, both work great.

    Now I have a Kind of a "Telescope". Two barres / rods, one is thinner and stuck in the other one, so they can get longer and Shorter but cannot Change their orientation / angle to the other one.

    Can this be done using a hinge Joint with a spring?

    Or is there a better way?

    Thanks a lot :)
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,778
    You would be better of using Configurable Joints
    upload_2019-3-4_13-31-33.png
     
    LR-Developer likes this.
  3. LR-Developer

    LR-Developer

    Joined:
    May 5, 2017
    Posts:
    109
    Yes, and Freeze some motions. Looks very promising, Thanks

    upload_2019-3-4_13-37-16.png
     
    Antypodish likes this.