forked from StrafesNET/strafe-client
notes about fixes
This commit is contained in:
parent
5a55aefb4f
commit
9b4b09798b
@ -500,6 +500,7 @@ impl MoveState{
|
|||||||
},
|
},
|
||||||
_=>(),
|
_=>(),
|
||||||
}
|
}
|
||||||
|
//this fixes falling through the ground when walking
|
||||||
self.apply_to_body(body,touching,models,hitbox_mesh,style,camera,input_state);
|
self.apply_to_body(body,touching,models,hitbox_mesh,style,camera,input_state);
|
||||||
}
|
}
|
||||||
//function to coerce &mut self into &self
|
//function to coerce &mut self into &self
|
||||||
@ -1388,6 +1389,8 @@ fn run_teleport_behaviour(wormhole:&Option<gameplay_attributes::Wormhole>,models
|
|||||||
},
|
},
|
||||||
None=>(),
|
None=>(),
|
||||||
}
|
}
|
||||||
|
//just doing this to set the acceleration when surfing
|
||||||
|
state.move_state.apply_enum(&mut state.body,&state.touching,&data.models,&data.hitbox_mesh,&state.style,&state.camera,&state.input_state);
|
||||||
},
|
},
|
||||||
(PhysicsCollisionAttributes::Intersect{intersecting: _,general},Collision::Intersect(intersect))=>{
|
(PhysicsCollisionAttributes::Intersect{intersecting: _,general},Collision::Intersect(intersect))=>{
|
||||||
//I think that setting the velocity to 0 was preventing surface contacts from entering an infinite loop
|
//I think that setting the velocity to 0 was preventing surface contacts from entering an infinite loop
|
||||||
|
Loading…
Reference in New Issue
Block a user