public Vector3 size ;

Descripción

Describes the dimensions of the shape.

Used only for the primitive shapes: Sphere, Capsule, Box.

• Sphere: size.x is radius of the sphere.

• Box: size is dimensions of the box, the box extends from -size/2 to size/2.

• Capsule: size.x is radius of the capsule, size.y is the height of the capsule, the capsules tips extend from -size.y/2 to size.y/2.