azurite-engine / Azurite

Azurite Game Engine is a 2D Java game engine built on top of LWJGL.
https://azurite-engine.github.io
MIT License
42 stars 20 forks source link

Issue with character controller #59

Closed Pricter closed 2 years ago

Pricter commented 3 years ago

if i am accelerated to a speed in direction left, and i press the right key (a), i am not moving in the right direction i am slowing down and sometimes it is not even slowing down, and sometimes i am accelerated for no reason if i release the right key

Juyas commented 3 years ago

it happens if collision forcefully stops your movement, the current character controller does not notice that and resets his movement -> there does the hidden acceleration come from.

Juyas commented 2 years ago

since the collisions and the character controller are reworked, this problem should no longer appear