neural look

This commit is contained in:
kepler155c@gmail.com
2019-03-13 17:53:49 -04:00
parent 81a7894037
commit a0a92818d6
4 changed files with 38 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ function Interface.getUniqueNames()
end
function Interface.lookAt(pt)
local yaw, pitch = Angle.towards(pt.x - .5, pt.y + 1, pt.z - .5)
local yaw, pitch = Angle.towards(pt.x - .5, pt.y, pt.z - .5)
return Interface.look(yaw, pitch)
end