Physical
from panda3d.physics import Physical
- class Physical
Bases:
TypedReferenceCount
Defines a set of physically modeled attributes. If you want physics applied to your class, derive it from this.
Inheritance diagram
- __init__(*args, **kwargs)
- addAngularForce()
C++ Interface: add_angular_force(const Physical self, AngularForce f)
- /**
Adds an angular force to the force list
*/
- addLinearForce()
C++ Interface: add_linear_force(const Physical self, LinearForce f)
- /**
Adds a linear force to the force list
*/
- addPhysicsObject()
C++ Interface: add_physics_object(const Physical self, PhysicsObject po)
- /**
Adds an object to the physics object vector
*/
- add_angular_force()
C++ Interface: add_angular_force(const Physical self, AngularForce f)
- /**
Adds an angular force to the force list
*/
- add_linear_force()
C++ Interface: add_linear_force(const Physical self, LinearForce f)
- /**
Adds a linear force to the force list
*/
- add_physics_object()
C++ Interface: add_physics_object(const Physical self, PhysicsObject po)
- /**
Adds an object to the physics object vector
*/
- angular_forces
- clearAngularForces()
C++ Interface: clear_angular_forces(const Physical self)
- /**
Erases the angular force list
*/
- clearLinearForces()
C++ Interface: clear_linear_forces(const Physical self)
- /**
Erases the linear force list
*/
- clearPhysicsObjects()
C++ Interface: clear_physics_objects(const Physical self)
- /**
Erases the object list
*/
- clear_angular_forces()
C++ Interface: clear_angular_forces(const Physical self)
- /**
Erases the angular force list
*/
- clear_linear_forces()
C++ Interface: clear_linear_forces(const Physical self)
- /**
Erases the linear force list
*/
- clear_physics_objects()
C++ Interface: clear_physics_objects(const Physical self)
- /**
Erases the object list
*/
- getAngularForces()
- getClassType()
C++ Interface: get_class_type()
- getLinearForces()
- get_angular_forces()
- get_class_type()
C++ Interface: get_class_type()
- get_linear_forces()
- linear_forces
- objects
- output()
C++ Interface: output(Physical self, ostream out)
- /**
Write a string representation of this instance to <out>.
*/
- removeAngularForce()
C++ Interface: remove_angular_force(const Physical self, AngularForce f)
- /**
removes an angular force from the force list
*/
- removeLinearForce()
C++ Interface: remove_linear_force(const Physical self, LinearForce f)
- /**
removes a linear force from the force list
*/
- remove_angular_force()
C++ Interface: remove_angular_force(const Physical self, AngularForce f)
- /**
removes an angular force from the force list
*/
- remove_linear_force()
C++ Interface: remove_linear_force(const Physical self, LinearForce f)
- /**
removes a linear force from the force list
*/
- setViscosity()
C++ Interface: set_viscosity(const Physical self, float viscosity)
- /**
Set the local viscosity.
*/
- set_viscosity()
C++ Interface: set_viscosity(const Physical self, float viscosity)
- /**
Set the local viscosity.
*/
- viscosity
- write()
C++ Interface: write(Physical self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/
- writeAngularForces()
C++ Interface: write_angular_forces(Physical self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/
- writeLinearForces()
C++ Interface: write_linear_forces(Physical self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/
- writePhysicsObjects()
C++ Interface: write_physics_objects(Physical self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/
- write_angular_forces()
C++ Interface: write_angular_forces(Physical self, ostream out, int indent)
- /**
Write a string representation of this instance to <out>.
*/