LinearVectorForce

from panda3d.physics import LinearVectorForce
class LinearVectorForce

Bases:

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 get_class_type() panda3d.core.TypeHandle
get_local_vector() panda3d.core.LVector3
set_vector(v: panda3d.core.LVector3)

encapsulating wrapper

set_vector(x: float, y: float, z: float)

piecewise encapsulating wrapper