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: panda3d.core.LVector3, a: float, mass: bool)

Vector Constructor

__init__(copy: LinearVectorForce)

Copy Constructor

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

Default/Piecewise constructor

static getClassType()panda3d.core.TypeHandle
getLocalVector()panda3d.core.LVector3
setVector(v: panda3d.core.LVector3)None

encapsulating wrapper

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

piecewise encapsulating wrapper