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

Joint Rotation for a Wheel

Discussion in 'Physics for ECS' started by argibaltzi, Sep 26, 2021.

  1. argibaltzi

    argibaltzi

    Joined:
    Nov 13, 2014
    Posts:
    220
    Hi
    I have a problem with a wheel system. The top wheel works perfect, i am using a ball and socket and some restrictions on the linear and angular axis.

    However the bottom wheel (which is rotated by 180 degrees) doesn't work because of this rotation....
    As soon as it collides with something it snaps to 0 degrees (if not immediately)

    How can i rotate my wheel mesh around and have this work? the only other way is to make a new mesh for each rotation....

    Thanks!