BabylonJS-CharacterController icon indicating copy to clipboard operation
BabylonJS-CharacterController copied to clipboard

moveWithCollision and calcMovePOV jitter

Open Armasyll opened this issue 2 years ago • 3 comments

There's a jitter of +-0.001-0.01(est.) when using calcMovePOV and moveWithCollision that becomes clear(er) when viewing contrasting-coloured meshes.

Armasyll avatar Feb 08 '23 12:02 Armasyll

@Armasyll anyway you can demo this?

ssatguru avatar Feb 16 '23 00:02 ssatguru

https://github.com/Armasyll/ssatguru-babylonjs-charactercontroller-test Given how quickly the player moves, the jitter is less noticable :v darn My own tests were having the character move at half, to a quarter, of the walk speed

Armasyll avatar Feb 16 '23 03:02 Armasyll

Thanks for the nice demo. I am sorry but I still donot see the issue. I didn't see any jitters during walk. Yes on stairs and slope there is some. My current method of slope detection is not perfect. I plan to change that to use ray cast.

ssatguru avatar Feb 17 '23 00:02 ssatguru