VXNTedits / Flowstate

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

Collision mechanics #3

Open VXNTedits opened 4 days ago

VXNTedits commented 4 days ago

Collision detection and resolution needs to be reworked

VXNTedits commented 4 days 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.