PhysicsCollisionHandler
from panda3d.physics import PhysicsCollisionHandler
- class PhysicsCollisionHandler
Bases:
CollisionHandlerPusher
A specialized kind of CollisionHandler that simply pushes back on things that attempt to move into solid walls. This also puts forces onto the physics objects
Inheritance diagram
- __init__(*args, **kwargs)
- getAlmostStationarySpeed()
C++ Interface: get_almost_stationary_speed(const PhysicsCollisionHandler self)
- getClassType()
C++ Interface: get_class_type()
- getDynamicFrictionCoef()
C++ Interface: get_dynamic_friction_coef(const PhysicsCollisionHandler self)
- getStaticFrictionCoef()
C++ Interface: get_static_friction_coef(const PhysicsCollisionHandler self)
- get_almost_stationary_speed()
C++ Interface: get_almost_stationary_speed(const PhysicsCollisionHandler self)
- get_class_type()
C++ Interface: get_class_type()
- get_dynamic_friction_coef()
C++ Interface: get_dynamic_friction_coef(const PhysicsCollisionHandler self)
- get_static_friction_coef()
C++ Interface: get_static_friction_coef(const PhysicsCollisionHandler self)
- setAlmostStationarySpeed()
C++ Interface: set_almost_stationary_speed(const PhysicsCollisionHandler self, float speed)
// These setters and getter are a bit of a hack:
- setDynamicFrictionCoef()
C++ Interface: set_dynamic_friction_coef(const PhysicsCollisionHandler self, float coef)
- setStaticFrictionCoef()
C++ Interface: set_static_friction_coef(const PhysicsCollisionHandler self, float coef)
- set_almost_stationary_speed()
C++ Interface: set_almost_stationary_speed(const PhysicsCollisionHandler self, float speed)
// These setters and getter are a bit of a hack:
- set_dynamic_friction_coef()
C++ Interface: set_dynamic_friction_coef(const PhysicsCollisionHandler self, float coef)
- set_static_friction_coef()
C++ Interface: set_static_friction_coef(const PhysicsCollisionHandler self, float coef)