Search Unity

Updating to 2017.3 and getting weird physics behaviors

Discussion in 'Editor & General Support' started by skinwalker, Mar 19, 2018.

  1. skinwalker

    skinwalker

    Joined:
    Apr 10, 2015
    Posts:
    509
    Hello,

    We have been using Unity 5.6.3 and decided to upgrade to the latest version of unity 2017. My rigid bodies are behaving really strange since then. For example I have a bow that can shoot an arrow using AddForce and now I feel like the arrow is falling down in slow motion or a very "laggy" motion, the FPS is fine it's above 120 while I'm testing.

    I decided to try out the 2017.1.3 version and that bug was gone, I thought something has messed up during the importing and decided to give 2017.3 another try, but unfortunately that physics bug is still there, I am not getting any errors in the console. I only recalling getting an error while importing the assets (only on 2017.3 while upgrading), which was "unwrap cl has stopped working", but then the upgrade continued fine.

    I am installing 2017.2.2 now to see if I will have any luck there and will update in 2 hours.

    EDIT : The same bug is on 2017.2.2

    EDIT 2: I found a way to fix the problem by changing:

    Code (CSharp):
    1. transform.rotation = Quaternion.LookRotation(_rigidbody.velocity);
    to
    Code (CSharp):
    1.  _rigidbody.MoveRotation(Quaternion.LookRotation(_rigidbody.velocity));
     
    Last edited: Mar 19, 2018