I created a Cylinder Collider using the CylinderGeometry from PhysicsShapeAuthoring with:
height = 0.5
radius = 0.25
orientation (90,0,0)
so the cylinder is sitting upright.
I calculate the surface are using the radius and height and got 1.7units instead of 2.5units. (In terms of my values) I also noticed that the extents.y of the Aabb is double the height but since the height is technically the extents on the y axis, so shouldn’t the extents.y just be the height?
tmp, in the debug output view, is the default Cylinder.sharemesh bounds.
mesh, in the debug output view, is the modified mesh used to replicate the PhysicsShapeAuthoring gizmo mesh
Also in order for the final mesh gizmo to match the PhysicsShapeAuthoring gizmo i have to further reduce the height. are the units in the PhysicsShapeArthoring different from the default GameObject units?