Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

What RotateTowards's maxMagnitudeDelta about?

Discussion in 'Scripting' started by leegod, Jan 8, 2015.

  1. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,321
    I am using at unity docs, Vector3.RotateTowards for rotate my character and go to target location.

    and very headache about what is maxMagnitudeDelta's float value mean? radian? or angle?

    if maxMagnitudeDelta = 1.0f, How this affect about what amount?

    Thanks.
     
  2. hpjohn

    hpjohn

    Joined:
    Aug 14, 2012
    Posts:
    2,190
  3. aaronfjerstad

    aaronfjerstad

    Joined:
    Oct 26, 2017
    Posts:
    2
    Prime624 likes this.
  4. fire7side

    fire7side

    Joined:
    Oct 15, 2012
    Posts:
    1,819
  5. hpjohn

    hpjohn

    Joined:
    Aug 14, 2012
    Posts:
    2,190