Search Unity

Vector3.Reflect Has Bad Diagram

Discussion in 'Documentation' started by deram_scholzara, Jul 18, 2014.

  1. deram_scholzara

    deram_scholzara

    Joined:
    Aug 26, 2005
    Posts:
    1,043
    In the docs for Vector3.Reflect, the diagram shows a direction vector being used for the reflection, and is thus producing a misrepresented reflected vector. Because of this, the caption, "Reflection of a vector off a plane", is also incorrect. http://docs.unity3d.com/ScriptReference/Vector3.Reflect.html

    The caption should read "Reflection of a vector across a plane's normal" and this image should illustrate the problem with the diagram.

    Vector3 Reflect Issue.png
     
    Last edited: Jul 18, 2014
    GibTreaty likes this.