panda3d.physics.PhysicalNode

class PhysicalNode

Bases: PandaNode

Graph node that encapsulated a series of physical objects

Inheritance diagram

Inheritance diagram of PhysicalNode

__init__(name: str) → None

default constructor

addPhysical(physical: Physical) → None
addPhysicalsFrom(other: PhysicalNode) → None

append operation

clear() → None
static getClassType() → TypeHandle
Return type

TypeHandle

getNumPhysicals() → size_t
Return type

size_t

getPhysical(index: size_t) → Physical
Return type

Physical

getPhysicals() → list
insertPhysical(index: size_t, physical: Physical) → None

insert operation

property physicals

Getter Setter

replace operation

Return type

Sequence[Physical]

removePhysical(physical: Physical) → None

remove operation

removePhysical(index: size_t) → None

remove operation

setPhysical(index: size_t, physical: Physical) → None

replace operation