panda3d.physics.LinearForce

from panda3d.physics import LinearForce
class LinearForce

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() → TypeHandle
Return type

TypeHandle

getMassDependent() → bool
getVector(po: PhysicsObject) → LVector3
Return type

LVector3

getVectorMasks() → LVector3
Return type

LVector3

makeCopy() → LinearForce
Return type

LinearForce

setAmplitude(a: float) → None
setMassDependent(m: bool) → None
setVectorMasks(x: bool, y: bool, z: bool) → None