Search Unity

Documentation example error - Rigidbody.MovePosition

Discussion in 'Documentation' started by Findor, May 19, 2018.

  1. Findor

    Findor

    Joined:
    Nov 16, 2014
    Posts:
    1
    So i believe there should be Time.fixedDeltaTime not Time.deltaTime.

    upload_2018-5-19_13-57-33.png
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,334
    Check the docs for Time.deltaTime. It's set to the fixed delta time during the fixed timestep - so inside FixedUpdate, they're the same value.