specs-physics

[Fork] Integration of Amethyst, SPECS and Nphysics together.
git clone https://git.jojolepro.com/specs-physics.git
Log | Files | Refs | README | LICENSE

commit bc7e8ebb8cff5fdec5b3600aaad6ca3dfadd5f3a
parent 07bb3c3dd2336e51567eb12458548c226a5df75a
Author: kel <distransient@protonmail.com>
Date:   Mon, 31 Dec 2018 13:00:29 -0500

Remove println's from collider sync system

Diffstat:
Msrc/systems/sync_colliders_to_physics.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/systems/sync_colliders_to_physics.rs b/src/systems/sync_colliders_to_physics.rs @@ -50,7 +50,7 @@ impl<'a> System<'a> for SyncCollidersToPhysicsSystem { .join() { if inserted_colliders.contains(id) { - println!("Detected inserted collider with id {:?}", id); + trace!("Detected inserted collider with id {:?}", id); // Just inserted. Remove old one and insert new. if collider.handle.is_some() && physical_world.collider(collider.handle.unwrap()).is_some() @@ -102,7 +102,7 @@ impl<'a> System<'a> for SyncCollidersToPhysicsSystem { collision_world.set_collision_group(collider_handle, collider.collision_group); } else if modified_colliders.contains(id) || modified_colliders.contains(id) { - println!("Detected changed collider with id {:?}", id); + trace!("Detected changed collider with id {:?}", id); let prediction = physical_world.prediction(); let angular_prediction = physical_world.angular_prediction();