Search Unity

Unity 5.2. New WheelCollider and Freez transform. (Bug)

Discussion in 'Physics' started by Zloba, Oct 25, 2015.

  1. Zloba

    Zloba

    Joined:
    Sep 12, 2015
    Posts:
    13
    (Sorry for my English)
    In the case of the collider in platformer in 3D, you want to lock z coordinate for the trolley.

    The trolley has 4 wheels.

    As the center of mass set the transform origin for accurately positioning the wheels on the rails.
    If you describe the truck one Collider (one BoxCollider or one MeshCollider), freezing transformation works correctly.
    If you use more than one of the collider, when pushing trolleys player will appear in a significant transformation of fixed axis. As well as possible flights trolley on stage =)...
    How to solve a similar problem?
    The Unity 4.5 everything is working properly ...
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Report a bug. But I suspect that's just how it is (different physics version), and you should instead correct it in LateUpdate or FixedUpdate.
     
  3. Zloba

    Zloba

    Joined:
    Sep 12, 2015
    Posts:
    13
    I can't report this bug. You can help me with this?
    I can give more information on this problem..