Search Unity

What does 1e-5f mean?

Discussion in 'Scripting' started by pizzaboy13, Jan 11, 2020.

  1. pizzaboy13

    pizzaboy13

    Joined:
    Mar 6, 2019
    Posts:
    18
    Is it just eulers number minus 5?

    Here is the tutorial I am following:

    Code (CSharp):
    1.  // Update velocity if time advances
    2.         if (Time.deltaTime > 1e-5f)
    3.             velocity = smoothDeltaPosition / Time.deltaTime;
    4.  
    5.         bool shouldMove = velocity.magnitude > 0.5f && agent.remainingDistance > agent.radius;
    6.  
    Full tutorial here
     
  2. Deleted User

    Deleted User

    Guest