Set this vector to a vector with the same direction as this one, but length l.
Vector3 setLength(double length) { return normalize().multiplyScalar(length); }