VXNTedits / Flowstate

We're bulding a game from scratch.
3 stars 0 forks source link

Collision mechanics #3

Open VXNTedits opened 3 months ago

VXNTedits commented 3 months ago

Collision detection and resolution needs to be reworked

VXNTedits commented 3 months ago

Jumping and collision handling are closely related. If a player is standing on a surface, the collision resolver is active, projecting their position onto the collision surface. If then the jump mechanic is applied, the collision resolver may fight and win over the user input, sticking them to the ground.