Johnsmith0508 / cubes

Node.Js, Socket.io, Cannon.js & Three.js working together with redis and mysql
https://dynalogic.org/node
GNU General Public License v3.0
4 stars 1 forks source link

a better auto-slow down system #36

Open Johnsmith0508 opened 8 years ago

Johnsmith0508 commented 8 years ago

if the user is not pushing some key x and they are moving in the direction that is associated with that key (eg: w with forward) , then apply the force retro to the force that would be applied if the key was being pressed.

Best of luck translating that into code :/

I will post Updates when my brain decides to start working

Johnsmith0508 commented 8 years ago

umm, there was the thing with lerping (see d7558be & 3de70e9 ). so, a step in some direction