forked from mtcontrib/maidroid
[DELETE] Delete print debug
This commit is contained in:
@ -49,7 +49,6 @@ local function on_step(self, dtime)
|
||||
-- if maidroid is stoped by obstacle, the maidroid must jump.
|
||||
if velocity.y == 0 and self.state == state.ACCOMPANY then
|
||||
local front_node = self:get_front_node()
|
||||
print(front_node.name)
|
||||
if front_node.name ~= "air" then
|
||||
self.object:setvelocity{x = direction.x, y = 5, z = direction.z}
|
||||
end
|
||||
|
Reference in New Issue
Block a user