Closed rom1504 closed 5 years ago
we are using transform.Rotate wrong see https://docs.unity3d.com/ScriptReference/Transform.Rotate.html and https://github.com/Unity-Technologies/ml-agents/search?q=transform.Rotate&unscoped_q=transform.Rotate
first parameter is the axis, the size of the vector representing it doesn't matter the second parameter is the number of degree to turn
we are using transform.Rotate wrong see https://docs.unity3d.com/ScriptReference/Transform.Rotate.html and https://github.com/Unity-Technologies/ml-agents/search?q=transform.Rotate&unscoped_q=transform.Rotate
first parameter is the axis, the size of the vector representing it doesn't matter the second parameter is the number of degree to turn