Search Unity

  1. Want to see 2020.1b in action? Sign up for our Beta 2020.1 Overview Webinar on April 20th for a live presentation from our evangelists and a Q&A session with guests from R&D.
    Dismiss Notice
  2. Interested in giving us feedback? Join our online research interviews on a broad range of topics and share your insights with us.
    Dismiss Notice
  3. We're hosting a webinar for the new Input System where you'll be able to get in touch with the devs. Sign up now and share your questions with us in preparation for the session on April 15.
    Dismiss Notice
  4. Dismiss Notice

WheelCollider height changes based upon Z position

Discussion in '5.2 Beta' started by Pelican_7, Jul 8, 2015.

  1. Pelican_7


    Nov 25, 2014
    Hi all,

    I am having an new issue with the WheelCollider component in 5.2.0b1.

    A WheelCollider moves up and down depending on the local Z position of its GameObject. This causes our vehicle's back wheels to be at a different height than its front wheels as the GameObjects' Z position is different. Has anyone else come across this issue? Very strange.

    You can see the issue easily by:
    1. Creating a game object and adding a WheelCollider component
    2. Move the z position (transform) of the game object
    3. You'll see the WheelCollider move up and down as the z position is changed. This can be done in the editor as the gizmo will show you.

    Can anyone confirm whether this is a bug or a change to the way WheelColliders in 5.2 work? The docs do not specify that anything in WheelCollider has changed. I have filed it as a bug for now.

    Thanks in advance,