private void SetCollisionObjectInfo(CollisionObject collisionObject, TreeNode objectsNode) { string objectName = collisionObject.GetType().Name; CollisionShape shape = collisionObject.CollisionShape; string shapeName = shape.GetType().Name; string text = $"{objectName} ({shapeName})"; GetOrCreateChildNode(collisionObject, text, objectsNode); }