cannot take the address of” and “cannot call pointer method on
The Vector3.Normalize() method has a pointer receiver, so in order to call this method, a pointer to Vector3 value is required (*Vector3). In your first example you store the return value of Vector3.Minus() in a variable, which will be of type Vector3. Variables in Go are addressable, and when you write diff.Normalize(), this is a … Read more