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

Configurable Joint (Angular Limits vs Axis)

Discussion in 'Physics' started by webjeff, Mar 23, 2019.

  1. webjeff

    webjeff

    Joined:
    Mar 11, 2015
    Posts:
    39
    Hello,

    The docs say the Axis/Secondary axis define the local coordinate system of the joint.

    I assume the tiny dark-sih yellow arrow (see pics) is the forward axis of the joint.

    The problem is when I edit the angular limits, I am expecting the yellow arrow to stay within the limits. However, you see with my screenshots, it's 90 (degrees) off. The pictures are showing just a simple 90 degree limit on Y and I'm showing the box in the middle, and at both extents.... clearly you see that axis yellow arrow outside the limits (off by 90 degrees)

    Is that yellow arrow (the axis) the forward axis? Shouldn't that remain in the angular limit visualization??

    It's hard to set the limits without visualizing this better. Any tips? Am I doing it wrong?

    First Image (Box is in the middle of the angular Y limit
    box1.jpg

    Second Image, showing box at one extent of the 90 degree limit
    box2.jpg

    Last image, box is at the other end of the limit (notice it appears to be half way)
    box3.jpg