haha I did not copy paste that comment
This commit is contained in:
@@ -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,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user