You are browsing as a guest. Sign up (or log in) to start making projects!

3h 50m 43s logged

Movement is actually logical now!! :shocked:

Before this, the movement was controlled by changing the velocity (eww). Now it’s controlled by forces, acceleration and a max speed!!!!
 
I do this by checking the forwards/backwards movement (W/S) and the same for right/left then multiplying that with where the player is looking to get the correct directions instead of just moving the player to the left of the world instead of left of the player. I then multiply that with how fast I want the player to move at its max and then remove how fast the player already is moving from that which means that no force will be added when It’s going the max speed! :wowzers:
 
This is the exact same logic as in my previous game, but GODDAMN the extra dimension makes it confusing (don’t look at how much time this took 😭) … I did actually also add a ground check and a deadzone I forgot to implement… Stay tuned for next devlog!!! :thumbs-up:
 
Anyways, here is my demonstration of this epic movement!!! :yeah:

0
146

Comments 1

@water

peak bro keep going!!