LinearControlForce

from panda3d.physics import LinearControlForce
class LinearControlForce

Bases:

Bases: LinearForce

Simple directed vector force. This force is different from the others in that it can be global and still only affect a single object. That might not make sense for a physics simulation, but it’s very handy for a game. I.e. this is the force applied by user on the selected object.

Inheritance diagram

Inheritance diagram of LinearControlForce

__init__(copy: LinearControlForce)

Copy Constructor

__init__(po: PhysicsObject, a: float, mass: bool)

Vector Constructor

clearPhysicsObject()

encapsulating wrapper

static getClassType() panda3d.core.TypeHandle
getLocalVector() panda3d.core.LVector3
getPhysicsObject() PhysicsObject

piecewise encapsulating wrapper

setPhysicsObject(po: PhysicsObject)

encapsulating wrapper

setVector(v: panda3d.core.LVector3)

encapsulating wrapper

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

piecewise encapsulating wrapper