Quantcast
Channel: Answers for "What is the best technique to freeze falling items temporarily and then resume after set time?"
Browsing all 6 articles
Browse latest View live

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 Article


Answer 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 Article


Answer 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

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 Article

Answer 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 Article


Answer 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
Browsing all 6 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>