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. 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)?

  3. 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

  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. Unity3d c# - Vector3 as default parameter - Stack Overflow

    May 18, 2015 · Void SpawnCube(Vector3 p = new Vector3(0,0,0)){...} I just tried the line about I got an error: Expression being assigned to optional parameter `p' must be a constant or …

  6. 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 …

  7. 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 …

  8. 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...

  9. I cannot understand about the unity documentation explanation …

    Jan 24, 2023 · Description of Magnitude of Vector3 (or Vector2) says If you only need to compare magnitudes of some vectors, you can compare squared magnitudes of them using …

  10. 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