haha I did not copy paste that comment

This commit is contained in:
xxSeys1
2025-07-06 21:31:26 +02:00
parent c5bfc6bc3d
commit 83374164db

View File

@@ -276,7 +276,7 @@ namespace FlaxEditor.SceneGraph.Actors
Transform = actor.Transform, Transform = actor.Transform,
Position = actor.Box.Center, Position = actor.Box.Center,
// Size the sphere to best fit the actor // Size the capsule to best fit the actor
Radius = (float)actor.Sphere.Radius / Mathf.Max((float)actor.Scale.MaxValue, 0.0001f) * 0.707f, Radius = (float)actor.Sphere.Radius / Mathf.Max((float)actor.Scale.MaxValue, 0.0001f) * 0.707f,
Height = 100f, Height = 100f,
}; };