Depends what behaviour you want. Do: self.dir = vmath.vector3()
, after using it to set the correct animation, otherwise the astronaut will keep moving after key release.
Depends what behaviour you want. Do: self.dir = vmath.vector3()
, after using it to set the correct animation, otherwise the astronaut will keep moving after key release.