I'm really stucked. I couldn't understand what does Vector3 state.
When I look Unity Vector3 documentation it says
Representation of 3D vectors and points.
According to this sentence, a Vector3 can state a point or a vector in space.
But When I go into other documentation about Vector3 it really confused me.
For example When I look Vector3 Constructor documentation it says
Creates a new vector with given x, y, z components.
So that means Vector3 states a vector.
But When I look Debug.DrawLine(Vector3 startpoint, Vector3 endpoint)
it says startpoint and lookpoint are points in world space.
So according to this, Vector3 is a point not a vector
I can increase the examples.
For example when I go into transform.position documentation it says,
The world space position of the Transform.
So it says Vector3 is a position(that means point. I think you can't state a position with Vector)
But when we try to change a position of gameobject with transform.position we again use Vector3
and that state a vector.Because you can't change position of a gameobject with point. You could use Vector
So, what does a Vector3 state ?