Vector3 orig = new Vector3(0, 0, 0);
Vector3 vec = new Vector3(1, 0, 0);
project(orig);
project(vec);
Vector2 d = new Vector2(vec.x - orig.x, -(vec.y - orig.y));
return d.angle();
}
private Vector3 calculateDirection (float angle) {
Matrix4 transform = new Matrix4();
Vector3 dir = new Vector3(-1, 0, 1).nor();