Crazywane Posted August 14, 2018 Share Posted August 14, 2018 hello, have any idea "setVelocity" function server side to use? "node.js" I want to check if the values, client side and server side match. thanks this.tankBody.setVelocity(300 * Math.cos(this.tankBody.rotation-Math.PI/2),300 * Math.sin(this.tankBody.rotation-Math.PI/2)); EDIT: Thanks, its finished Link to comment Share on other sites More sharing options...
Recommended Posts