Answer by tanoshimi
One common approach is to set Time.timeScale = 0; to "freeze" time. Then, set it back to 1 to restore to normal.
View ArticleAnswer by Cherno
You could also just enable/disable the object's rigidbody altogether, or set certain attributes of the rigidbody to true or false (like Use Gravity, or Lock Moving and Rotating). Read the Unity manual...
View ArticleAnswer by ABEMOS
I found a way. I used a a variable that multiplies with the velocity of all moving objects in the scene . I set the variable =1 all the time, but when the player picks up the "freezing" item, I change...
View ArticleAnswer by tanoshimi
One common approach is to set Time.timeScale = 0; to "freeze" time. Then, set it back to 1 to restore to normal.
View ArticleAnswer by Cherno
You could also just enable/disable the object's rigidbody altogether, or set certain attributes of the rigidbody to true or false (like Use Gravity, or Lock Moving and Rotating). Read the Unity manual...
View ArticleAnswer by ABEMOS
I found a way. I used a a variable that multiplies with the velocity of all moving objects in the scene . I set the variable =1 all the time, but when the player picks up the "freezing" item, I change...
View Article