LinearDistanceForce
from panda3d.physics import LinearDistanceForce
- class LinearDistanceForce
Bases:
LinearForce
Pure virtual class for sinks and sources
Inheritance diagram
- FTONEOVERR = 0
- FTONEOVERRCUBED = 2
- FTONEOVERROVERDISTANCE = 3
- FTONEOVERROVERDISTANCECUBED = 5
- FTONEOVERROVERDISTANCESQUARED = 4
- FTONEOVERRSQUARED = 1
- FT_ONE_OVER_R = 0
- FT_ONE_OVER_R_CUBED = 2
- FT_ONE_OVER_R_OVER_DISTANCE = 3
- FT_ONE_OVER_R_OVER_DISTANCE_CUBED = 5
- FT_ONE_OVER_R_OVER_DISTANCE_SQUARED = 4
- FT_ONE_OVER_R_SQUARED = 1
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getFalloffType()
C++ Interface: get_falloff_type(LinearDistanceForce self)
- /**
falloff_type query
*/
- getForceCenter()
C++ Interface: get_force_center(LinearDistanceForce self)
- /**
force_center query
*/
- getScalarTerm()
C++ Interface: get_scalar_term(LinearDistanceForce self)
- /**
calculate the term based on falloff
*/
- get_class_type()
C++ Interface: get_class_type()
- get_falloff_type()
C++ Interface: get_falloff_type(LinearDistanceForce self)
- /**
falloff_type query
*/
- get_force_center()
C++ Interface: get_force_center(LinearDistanceForce self)
- /**
force_center query
*/
- get_scalar_term()
C++ Interface: get_scalar_term(LinearDistanceForce self)
- /**
calculate the term based on falloff
*/
- setFalloffType()
C++ Interface: set_falloff_type(const LinearDistanceForce self, int ft)
- /**
falloff_type encapsulating wrap
*/
- setForceCenter()
C++ Interface: set_force_center(const LinearDistanceForce self, const LPoint3f p)
- /**
set the force center
*/
- setRadius()
C++ Interface: set_radius(const LinearDistanceForce self, float r)
- /**
set the radius
*/
- set_falloff_type()
C++ Interface: set_falloff_type(const LinearDistanceForce self, int ft)
- /**
falloff_type encapsulating wrap
*/