forked from StrafesNET/strafe-client
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
|
//check ground
|
||||||
match c.face {
|
match c.face {
|
||||||
AabbFace::Top => {
|
AabbFace::Top => {
|
||||||
//ground
|
//this needs to be ContactConstrainAcceleration(gravity)
|
||||||
self.body.acceleration=self.gravity;
|
self.body.acceleration=self.gravity;
|
||||||
},
|
},
|
||||||
_ => (),
|
_ => (),
|
||||||
|
Loading…
Reference in New Issue
Block a user