panda3d.bullet.BulletSphereShape

from panda3d.bullet import BulletSphereShape
class BulletSphereShape

Bases: BulletShape

Inheritance diagram

Inheritance diagram of BulletSphereShape

__init__(copy: BulletSphereShape) → None
__init__(radius: float) → None
static getClassType() → TypeHandle
Return type

TypeHandle

getRadius() → float

Returns the radius that was used to construct this sphere.

static makeFromSolid(solid: CollisionSphere) → BulletSphereShape
Return type

BulletSphereShape

property radius

Returns the radius that was used to construct this sphere.

Return type

float