LinearForce

from panda3d.physics import LinearForce
class LinearForce

Bases:

Bases: BaseForce

A force that acts on a PhysicsObject by way of an Integrator. This is a pure virtual base class.

Inheritance diagram

Inheritance diagram of LinearForce

getAmplitude() float
static getClassType() panda3d.core.TypeHandle
getMassDependent() bool
getVector(po: PhysicsObject) panda3d.core.LVector3
getVectorMasks() panda3d.core.LVector3
makeCopy() LinearForce
setAmplitude(a: float)
setMassDependent(m: bool)
setVectorMasks(x: bool, y: bool, z: bool)