Disc Radius is actually Diameter?

Avatar
  • updated

Please bear with me here, as I've been going nuts on this.  It is ENTIRELY possible I'm wrong here - in fact that's the most likely issue - but it really seems like the Radius in a Shapes Disc is actually its Diameter.

Exhibit A: If I make a Disc with a scale of 1 and a Radius of 1, then compare it to a Unity Unit Sphere of scale 1, they are the same size.  But a Unity Unit Sphere has a Diameter of 1, not a Radius of 1.

Exhibit B: If I make a Disc with a scale of 1, and a Radius of 1.59155, then set the Dashed line to be in Meters, with a Size of 2m, I get 3 dashed segments, but a circle with a radius of 1.59155m should have a circumference of 10m, thus with 2m segments I should get 5 segments, not 3.  If I change the radius to be 3.1831, I suddenly get 5 segments as expected for a circumference of 10m which is what is expected of a circle with a Diameter of 3.1831, not radius.

Reporting a bug? please specify Unity version:
6000.2.7f2
Reporting a bug? please specify Shapes version:
4.5.1
Reporting a bug? please specify Render Pipeline:
URP
Avatar
John Vanderbeck

The Shapes are created programmatically if that has anything to do with it. 

Avatar
John Vanderbeck

No, the parents are scale 1.  The setup is something like this screenshot.  GalaxyView and StarView_n both have a scale of 1. 

Image 914

Avatar
Freya Holmér creator

is your parent object scaled?