Skip to content
Snippets Groups Projects
Commit 26b2a313 authored by STAVRIDIS ADONIS's avatar STAVRIDIS ADONIS :speech_balloon:
Browse files

#112 fix z axis movement

parent 6702f310
Branches
Tags
No related merge requests found
......@@ -225,7 +225,9 @@ func processMovement(delta:float):
# Send the position of the player
func broadcastMovement():
rpc("getRemoteMovement", self.get_translation())
var position = self.get_translation()
position.z = 0
rpc("getRemoteMovement", position)
# Check and trigger the type of attack requested
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment