Код: Выделить всё
Vector3 velocity = (transform.forward * currentDir.y * transform.right * currentDir.x) * walkSpeed * Vector3.up * velocityY;
Почему в структуре Vector3 отсутствует оператор умножения и как мне перемножить эту цепочку векторов Vector3 вместе?
Подробнее здесь: https://stackoverflow.com/questions/706 ... o-vector3s