idea: multiple collisions can happen in the same instant

This commit is contained in:
2025-08-29 18:20:46 -07:00
parent 6509bef070
commit 567ca4b794

View File

@@ -25,8 +25,13 @@ use strafesnet_common::physics::{Instruction,MouseInstruction,ModeInstruction,Mi
//when the physics asks itself what happens next, this is how it's represented
#[derive(Debug)]
pub enum InternalInstruction{
CollisionStart(Collision,model_physics::GigaTime),
CollisionEnd(Collision,model_physics::GigaTime),
// begin accepting touch updates
OpenMultiCollision(model_physics::GigaTime),
// mutliple touch updates
CollisionStart(Collision),
CollisionEnd(Collision),
// confirm there will be no more touch updates and apply the transaction
CloseMultiCollision,
StrafeTick,
ReachWalkTargetVelocity,
// Water,