aframe-physics-components icon indicating copy to clipboard operation
aframe-physics-components copied to clipboard

Using wasd control, physics-body would be stuck while moving.

Open daoshengmu opened this issue 8 years ago • 1 comments

I notice that if we use 'velocity' in diffData, we can't update the velocity continuously. I am not quite sure whether cannon.js will reset the velocity internally. If it would, we should keep feeding the velocity while pressing wasd keys.

https://github.com/ngokevin/aframe-physics-components/blob/master/src/index.js#L101

daoshengmu avatar May 02 '16 02:05 daoshengmu

Yeah, try https://github.com/donmccurdy/aframe-extras which has more physics work at this point.

ngokevin avatar May 02 '16 21:05 ngokevin