Skip to content

format

typescript
SphereCollider.radius

class: SphereCollider

description

The radius of the sphere collider.

The radius determines the size of the sphere collider, which is the distance from the center point to the outer edge.

parameter

param_nametypedescription

reture

typedescription
numberThe collider radius.

code example