LinearDistanceForce¶
from panda3d.physics import LinearDistanceForce
-
class
LinearDistanceForce
¶ Bases:
LinearForce
Pure virtual class for sinks and sources
Inheritance diagram
-
enum
FalloffType
¶ -
enumerator
FT_ONE_OVER_R
= 0¶
-
enumerator
FT_ONE_OVER_R_SQUARED
= 1¶
-
enumerator
FT_ONE_OVER_R_CUBED
= 2¶
-
enumerator
-
static
getClassType
() → panda3d.core.TypeHandle¶
-
getFalloffType
() → FalloffType¶ falloff_type query
-
getForceCenter
() → panda3d.core.LPoint3¶ force_center query
-
setForceCenter
(p: panda3d.core.LPoint3) → None¶ set the force center
-
enum