PhysicalNode

from panda3d.physics import PhysicalNode
class PhysicalNode

Bases: PandaNode

Graph node that encapsulated a series of physical objects

Inheritance diagram

Inheritance diagram of PhysicalNode

__init__(*args, **kwargs)
addPhysical()

C++ Interface: add_physical(const PhysicalNode self, Physical physical)

/**
  • Adds a Physical to this PhysicalNode. If it is already added to this node,

  • does nothing. It is an error to add a Physical to multiple PhysicalNodes.

*/

addPhysicalsFrom()

C++ Interface: add_physicals_from(const PhysicalNode self, const PhysicalNode other)

/**
  • append operation

*/

add_physical()

C++ Interface: add_physical(const PhysicalNode self, Physical physical)

/**
  • Adds a Physical to this PhysicalNode. If it is already added to this node,

  • does nothing. It is an error to add a Physical to multiple PhysicalNodes.

*/

add_physicals_from()

C++ Interface: add_physicals_from(const PhysicalNode self, const PhysicalNode other)

/**
  • append operation

*/

clear()

C++ Interface: clear(const PhysicalNode self)

/**

*/

getClassType()

C++ Interface: get_class_type()

getNumPhysicals()

C++ Interface: get_num_physicals(PhysicalNode self)

/**

*/

getPhysical()

C++ Interface: get_physical(PhysicalNode self, int index)

/**

*/

getPhysicals()
get_class_type()

C++ Interface: get_class_type()

get_num_physicals()

C++ Interface: get_num_physicals(PhysicalNode self)

/**

*/

get_physical()

C++ Interface: get_physical(PhysicalNode self, int index)

/**

*/

get_physicals()
insertPhysical()

C++ Interface: insert_physical(const PhysicalNode self, int index, Physical physical)

/**
  • insert operation

*/

insert_physical()

C++ Interface: insert_physical(const PhysicalNode self, int index, Physical physical)

/**
  • insert operation

*/

physicals
removePhysical()

C++ Interface: remove_physical(const PhysicalNode self, Physical physical) remove_physical(const PhysicalNode self, int index)

/**
  • remove operation

*/

/**
  • remove operation

*/

remove_physical()

C++ Interface: remove_physical(const PhysicalNode self, Physical physical) remove_physical(const PhysicalNode self, int index)

/**
  • remove operation

*/

/**
  • remove operation

*/

setPhysical()

C++ Interface: set_physical(const PhysicalNode self, int index, Physical physical)

/**
  • replace operation

*/

set_physical()

C++ Interface: set_physical(const PhysicalNode self, int index, Physical physical)

/**
  • replace operation

*/