panda3d.bullet.BulletShape

from panda3d.bullet import BulletShape
class BulletShape

Bases: TypedWritableReferenceCount

Inheritance diagram

Inheritance diagram of BulletShape

property concave
Return type

bool

property convex
Return type

bool

property convex_2d
Return type

bool

static getClassType() → TypeHandle
Return type

TypeHandle

getMargin() → float
getName() → str
getShapeBounds() → BoundingSphere

Returns the current bounds of this collision shape.

Return type

BoundingSphere

property infinite
Return type

bool

isConcave() → bool
isConvex() → bool
isConvex2d() → bool
isInfinite() → bool
isNonMoving() → bool
isPolyhedral() → bool
isSoftBody() → bool
property margin

Getter Setter

Return type

float

property name
Return type

char

property non_moving
Return type

bool

property polyhedral
Return type

bool

setMargin(margin: float) → None
property shape_bounds

Returns the current bounds of this collision shape.

Return type

BoundingSphere

property soft_body
Return type

bool