From a985c9cf8a4677ff4f5e53335f209c210d26da52 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Mon, 30 Sep 2024 21:22:11 +0800 Subject: [PATCH] fix name --- Plugins/BulletPhysics/BulletPhysicManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/BulletPhysics/BulletPhysicManager.cpp b/Plugins/BulletPhysics/BulletPhysicManager.cpp index 29643e95..4614539d 100644 --- a/Plugins/BulletPhysics/BulletPhysicManager.cpp +++ b/Plugins/BulletPhysics/BulletPhysicManager.cpp @@ -1882,7 +1882,7 @@ void CBulletPhysicManager::DebugDraw(void) { if (pPhysicComponent->IsPhysicBehavior()) { - auto customColor = GetVector3FromVec3(m_debugDrawContext.m_actionColor); + auto customColor = GetVector3FromVec3(m_debugDrawContext.m_behaviorColor); pInternalRigidBody->setCustomDebugColor(customColor); }