the bug
This commit is contained in:
parent
b6e7ce4e25
commit
cc58f23512
@ -968,8 +968,9 @@ impl PhysicsState {
|
||||
self.move_state.apply_to_body(&mut self.body,&self.touching,&data.models,&data.hitbox_mesh,&self.style,&self.camera,&self.input_state);
|
||||
}
|
||||
fn set_move_state(&mut self,data:&PhysicsData,move_state:MoveState){
|
||||
self.apply_enum_and_body(data);
|
||||
self.move_state=move_state;
|
||||
//this function call reads the above state that was just set
|
||||
self.apply_enum_and_body(data);
|
||||
}
|
||||
fn cull_velocity(&mut self,data:&PhysicsData,velocity:Planar64Vec3){
|
||||
//TODO: be more precise about contacts
|
||||
|
Loading…
Reference in New Issue
Block a user