ForceNode

from panda3d.physics import ForceNode
class ForceNode

Bases: PandaNode

A force that lives in the scene graph and is therefore subject to local coordinate systems. An example of this would be simulating gravity in a rotating space station. or something.

Inheritance diagram

Inheritance diagram of ForceNode

__init__(*args, **kwargs)
addForce()

C++ Interface: add_force(const ForceNode self, BaseForce force)

/**

*/

addForcesFrom()

C++ Interface: add_forces_from(const ForceNode self, const ForceNode other)

/**
  • append operation

*/

add_force()

C++ Interface: add_force(const ForceNode self, BaseForce force)

/**

*/

add_forces_from()

C++ Interface: add_forces_from(const ForceNode self, const ForceNode other)

/**
  • append operation

*/

clear()

C++ Interface: clear(const ForceNode self)

/**

*/

forces
getClassType()

C++ Interface: get_class_type()

getForce()

C++ Interface: get_force(ForceNode self, int index)

/**

*/

getForces()
getNumForces()

C++ Interface: get_num_forces(ForceNode self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_force()

C++ Interface: get_force(ForceNode self, int index)

/**

*/

get_forces()
get_num_forces()

C++ Interface: get_num_forces(ForceNode self)

/**

*/

insertForce()

C++ Interface: insert_force(const ForceNode self, int index, BaseForce force)

/**
  • insert operation

*/

insert_force()

C++ Interface: insert_force(const ForceNode self, int index, BaseForce force)

/**
  • insert operation

*/

removeForce()

C++ Interface: remove_force(const ForceNode self, BaseForce force) remove_force(const ForceNode self, int index)

/**
  • remove operation

*/

/**
  • remove operation

*/

remove_force()

C++ Interface: remove_force(const ForceNode self, BaseForce force) remove_force(const ForceNode self, int index)

/**
  • remove operation

*/

/**
  • remove operation

*/

setForce()

C++ Interface: set_force(const ForceNode self, int index, BaseForce force)

/**
  • replace operation

*/

set_force()

C++ Interface: set_force(const ForceNode self, int index, BaseForce force)

/**
  • replace operation

*/

writeForces()

C++ Interface: write_forces(ForceNode self, ostream out, int indent)

/**
  • Write a string representation of this instance to <out>.

*/

write_forces()

C++ Interface: write_forces(ForceNode self, ostream out, int indent)

/**
  • Write a string representation of this instance to <out>.

*/