From 7308b0f6f70bfb699604d0e40b3cf1f60610053c Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Thu, 4 Aug 2022 12:09:41 +0100 Subject: [PATCH] remove log spam for syncing objects --- integrations/bullet/include/fggl/phys/bullet/motion.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integrations/bullet/include/fggl/phys/bullet/motion.hpp b/integrations/bullet/include/fggl/phys/bullet/motion.hpp index 9fa5160..3a89788 100644 --- a/integrations/bullet/include/fggl/phys/bullet/motion.hpp +++ b/integrations/bullet/include/fggl/phys/bullet/motion.hpp @@ -45,11 +45,9 @@ namespace fggl::phys::bullet { ~FgglMotionState() override = default; void getWorldTransform(btTransform& worldTrans) const override { - debug::trace("BT: syncing from transform: {}.", (uint64_t)m_entity); - const auto* transform = m_world->tryGet<fggl::math::Transform>(m_entity); if ( transform == nullptr ) { - debug::warning("BT: attempted to get transform of entity without transform component."); + debug::error("BT: attempted to get transform of entity without transform component."); return; } -- GitLab