Add drawing RigidBody center of mass and attached colliders
#2325 #3247
This commit is contained in:
@@ -35,9 +35,14 @@ void SphereCollider::DrawPhysicsDebug(RenderView& view)
|
||||
DEBUG_DRAW_WIRE_SPHERE(_sphere, Color::GreenYellow * 0.8f, 0, true);
|
||||
}
|
||||
|
||||
void SphereCollider::OnDebugDrawSelected()
|
||||
void SphereCollider::OnDebugDrawSelf()
|
||||
{
|
||||
DEBUG_DRAW_WIRE_SPHERE(_sphere, Color::GreenYellow, 0, false);
|
||||
}
|
||||
|
||||
void SphereCollider::OnDebugDrawSelected()
|
||||
{
|
||||
OnDebugDrawSelf();
|
||||
|
||||
if (_contactOffset > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user