BBMOD_SphereCollider

Extends BBMOD_Collider

constructor

new BBMOD_SphereCollider([_position[, _radius]])

Description

A sphere collider.

Arguments

Name Type Description
_position Struct.BBMOD_Vec3 The position of the sphere Defaults to (0, 0, 0).
_radius Real The radius of the sphere. Defaults to 1.

Properties

Name Description
Position The position of the sphere.
Radius The radius of the sphere.

See also

BBMOD_AABBCollider, BBMOD_FrustumCollider, BBMOD_PlaneCollider

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on November 16, 2022 using GMDoc.