Fix old api usage for #4185

This commit is contained in:
2026-09-14 08:30:51 +02:00
parent b586c6a0fb
commit e669e9ca65
57 changed files with 89 additions and 90 deletions
+2 -2
View File
@@ -394,8 +394,8 @@ void BehaviorTreeMoveToNode::GetAgentSize(Actor* agent, float& outRadius, float&
}
// Estimate actor bounds to extract capsule information
const BoundingBox box = agent->GetBox();
const BoundingSphere sphere = agent->GetSphere();
const BoundingBox box = agent->GetBoundingBox();
const BoundingSphere sphere = agent->GetBoundingSphere();
outRadius = (float)sphere.Radius;
outHeight = (float)box.GetSize().Y;
}