Search Unity

My Rigidbody is...heavier? When selected in Scene View

Discussion in 'Physics' started by supermoof, Jan 14, 2017.

  1. supermoof

    supermoof

    Joined:
    Sep 24, 2015
    Posts:
    45
    I'm encountering a problem where my rigidbody is somehow heavier if I have it selected in scene view.

    If I press play, and use my dash function whichs addsforce, and I have my player selected in scene view, it moves only like for example 10meters. If I have something NOT the player selected in scene view it moves like 100 meters. The compiled game always acts as if I don't have the player selected. Is there a solution to this?
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    1,968
    Sounds like it could be related to frame-rate which would indicate you're modifying body forces in the 'Update' callback rather than the 'FixedUpdate' callback.