panda3d.physics.LinearVectorForce

from panda3d.physics import LinearVectorForce
class LinearVectorForce

Bases: LinearForce

Simple directed vector force. Suitable for gravity, non-turbulent wind, etc…

Inheritance diagram

Inheritance diagram of LinearVectorForce

__init__(vec: LVector3, a: float, mass: bool) → None

Vector Constructor

__init__(copy: LinearVectorForce) → None

Copy Constructor

__init__(x: float, y: float, z: float, a: float, mass: bool) → None

Default/Piecewise constructor

static getClassType() → TypeHandle
Return type

TypeHandle

getLocalVector() → LVector3
Return type

LVector3

setVector(v: LVector3) → None

encapsulating wrapper

setVector(x: float, y: float, z: float) → None

piecewise encapsulating wrapper