hi all,
i have a gameobjct with rigidbody. i throw it up and stop the same via Time.timeScale = 0; and also i remove the gravity gameobject.GetComponent().useGravity = false; to prevent falling down uncontrolledly. there is a button to resume the game and when user clicks the button i set Time.timeScale = 1; to play animation. everyhing is ok so far but my gameobject is fall down although i have not set useGravity=true.
i am setting useGravity=true at the end of the animation but it falls down immediatly when i set timeScale=1
i am confused, do you have any idea?
thanks…