Bounding Sphere
Represents a BoundingSphere in 3D space defined by a center position and radius.
Parameters
center World Position
The center position of the BoundingSphere in world coordinates.
radius
The radius of the BoundingSphere.
Properties
Link copied to clipboard
The transformed center position of the BoundingSphere in world coordinates.
Link copied to clipboard
The radius of the BoundingSphere.
Functions
Link copied to clipboard
Performs a hit test with the given quaternion and the BoundingSphere.
Performs a hit test between the BoundingSphere and the ray defined by the origin & destination points.
Link copied to clipboard
Returns true if the worldPosition is inside the BoundingSphere.
Link copied to clipboard
Returns true if the BoundingSphere intersects other.