About 1,150,000 results
Open links in new tab
  1. What is a Vector2 and Vector3 in Unity? - Stack Overflow

    Feb 1, 2019 · Title says it all. I see them used in movement scripts often, if that helps. What is a Vector2 and a Vector3, the Unity docs are a bit hard to follow for new people.

  2. CS0104: ambiguous reference between 'System.Numerics.Vector3' …

    CS0104: ambiguous reference between 'System.Numerics.Vector3' and 'UnityEngine.Vector3' Asked 5 years, 6 months ago Modified 2 years, 10 months ago Viewed 20k times

  3. Unity transform.Translate (Vector3.forward); doesn't work

    Mar 1, 2023 · I am new to Unity and I am learning through "Create With Code" tutorial from Unity. Here they say, that I can use transform.Translate(Vector3.forward); command to …

  4. Why should I use new Vector3? What is the difference?

    Jul 7, 2018 · It is too late for you to change the rotation parameters. Vector3 implements the * operator. It is more simple and readable to write code this way. We are lucky, the Rotate …

  5. Unity Quaternion.LookRotation(x) and …

    Sep 19, 2023 · How is LookRotation calculated if not assuming you started by looking forward? Shouldn't LookRotation (Vector3.forward) return an identity quaternion (no rotation)?

  6. c# - Unity 3D How to project a Vector3 onto a plane or get angle ...

    I am trying to program a third person character such that when a direction key, eg. D is pressed, if the character is currently facing same direction as camera, Right Quarter Turn animation is play...

  7. how does Unity implements Vector3.Slerp exactly?

    Jun 10, 2021 · For my research I need to know, how exactly Unity implements the Slerp function for Vector3. The Unity3D documentation descripes, that the input vectors are treated as …

  8. godot - How do I rotate a single point (vector3) so that it is facing ...

    Mar 23, 2024 · This second normal vector is Vector3(0,0,1), a vector that points in the Z direction because the Z direction is the only that you don't touch in the function …

  9. How can I add two Vector3's together in unity - Stack Overflow

    How can I add two Vector3's together in unity Asked 5 years, 9 months ago Modified 5 years, 9 months ago Viewed 15k times

  10. Vector3.magnitude and vector3.normalized explanation - Stack …

    May 7, 2018 · Vector3.normalized is a bit of an opposite operation - it returns vector direction, guaranteeing that the magnitude of the resulting vector is one, (it preserves the direction …