Jump to content

setVelocity to Server?


Crazywane
 Share

Recommended Posts

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...