comment on CollisionEnd handling
This commit is contained in:
parent
e67479a9bd
commit
a5f203484b
@ -684,7 +684,7 @@ impl crate::instruction::InstructionConsumer<PhysicsInstruction> for PhysicsStat
|
||||
//check ground
|
||||
match c.face {
|
||||
AabbFace::Top => {
|
||||
//ground
|
||||
//this needs to be ContactConstrainAcceleration(gravity)
|
||||
self.body.acceleration=self.gravity;
|
||||
},
|
||||
_ => (),
|
||||
|
Loading…
Reference in New Issue
Block a user