diff --git a/src/physics.rs b/src/physics.rs index 010c691..576a0ed 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -851,7 +851,7 @@ impl TouchingState{ TimedInstruction{ time, instruction:PhysicsInstruction::CollisionEnd( - Collision::Contact(ContactCollision{model_id:contact.model_id,face_id:face}) + Collision::Contact(ContactCollision{model_id:contact.model_id,face_id:contact.face_id}) ), } }));