The Sphere Collider is a basic sphere-shaped collision primitive.
Property: | Function: |
---|---|
Is Trigger | If enabled, this Collider is used for triggering events, and is ignored by the physics engine. |
Material | Reference to the Physics Material that determines how this Collider interacts with others. |
Center | The position of the Collider in the object’s local space. |
Radius | The size of the Collider. |
The collider can be resized via the Radius property but cannot be scaled along the three axes independently (ie, you can’t flatten the sphere into an ellipse). As well as the obvious use for spherical objects like tennis balls, etc, the sphere also works well for falling boulders and other objects that need to roll and tumble.
Did you find this page useful? Please give it a rating: