panda3d.bullet.BulletShape

class BulletShape

Bases: TypedWritableReferenceCount

Inheritance diagram

Inheritance diagram of BulletShape

isPolyhedral() → bool
isConvex() → bool
isConvex2d() → bool
isConcave() → bool
isInfinite() → bool
isNonMoving() → bool
isSoftBody() → bool
setMargin(margin: float) → None
getName() → str
getMargin() → float
getShapeBounds() → BoundingSphere

Returns the current bounds of this collision shape.

Return type

BoundingSphere

static getClassType() → TypeHandle
Return type

TypeHandle

property polyhedral
Return type

bool

property convex
Return type

bool

property convex_2d
Return type

bool

property concave
Return type

bool

property infinite
Return type

bool

property non_moving
Return type

bool

property soft_body
Return type

bool

property margin

Getter Setter

Return type

float

property name
Return type

char

property shape_bounds

Returns the current bounds of this collision shape.

Return type

BoundingSphere