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

clear() → None
getPhysical(index: size_t) → Physical
Return type

Physical

getNumPhysicals() → size_t
Return type

size_t

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

append operation

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

replace operation

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

insert operation

removePhysical(physical: Physical) → None

remove operation

removePhysical(index: size_t) → None

remove operation

static getClassType() → TypeHandle
Return type

TypeHandle

getPhysicals() → list
property physicals

Getter Setter

replace operation

Return type

Sequence[Physical]