UNITY TUTORIAL | SCRIPTING | Time.deltaTime

 

1
“PlayerControl” Script from Space Shooter 2D
  • when trying to move Player,  add Time.deltaTime to make the movement soft
  • it makes action in Update(), independent from frame and dependent on time
1-1
Moving Player Smoothly

 

2
“PlayerControl” Script from Space Shooter 2D
  • let’s try to remove Time.deltaTime

 

2-1
Moving Player drastically

 

 

ezgif.com-video-to-gif (1)
Time.deltaTime

Leave a comment