TODO: need real functions

This commit is contained in:
Quaternions 2023-10-17 16:34:53 -07:00
parent fde62febcf
commit 83e108c8e1

View File

@ -1434,6 +1434,7 @@ impl crate::instruction::InstructionConsumer<PhysicsInstruction> for PhysicsStat
self.touching.constrain_acceleration(&self.models,&mut a); self.touching.constrain_acceleration(&self.models,&mut a);
self.body.acceleration=a; self.body.acceleration=a;
//check ground //check ground
//self.touching.get_move_state();
match &c.face { match &c.face {
TreyMeshFace::Top => { TreyMeshFace::Top => {
//TODO: make this more advanced checking contacts //TODO: make this more advanced checking contacts