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

clear_physics_object()

encapsulating wrapper

static get_class_type() panda3d.core.TypeHandle
get_local_vector() panda3d.core.LVector3
get_physics_object() PhysicsObject

piecewise encapsulating wrapper

set_physics_object(po: PhysicsObject)

encapsulating wrapper

set_vector(v: panda3d.core.LVector3)

encapsulating wrapper

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

piecewise encapsulating wrapper