Merge pull request #85 from tacigar/tacigar/basic_core

Fix basic core
This commit is contained in:
tacigar 2016-12-21 07:41:17 +09:00 committed by GitHub
commit 46226d9813
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ end
-- the maidroid's looking direction.
function maidroid.maidroid.get_look_direction(self)
local yaw = self.object:getyaw()
return vector.normalize{x = math.sin(yaw), y = 0.0, z = -math.cos(yaw)}
return vector.normalize{x = -math.sin(yaw), y = 0.0, z = math.cos(yaw)}
end
-- maidroid.maidroid.set_animation sets the maidroid's animation.