class LinearControlForce

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) → None

Copy Constructor

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

Vector Constructor

clearPhysicsObject() → None

encapsulating wrapper

static getClassType() → TypeHandle
Return type


getLocalVector() → LVector3
Return type


getPhysicsObject() → PhysicsObject

piecewise encapsulating wrapper

Return type


setPhysicsObject(po: PhysicsObject) → None

encapsulating wrapper

setVector(v: LVector3) → None

encapsulating wrapper

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

piecewise encapsulating wrapper