LinearControlForce
from panda3d.physics import LinearControlForce
- 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
- __init__(*args, **kwargs)
- clearPhysicsObject()
C++ Interface: clear_physics_object(const LinearControlForce self)
- /**
encapsulating wrapper
*/
- clear_physics_object()
C++ Interface: clear_physics_object(const LinearControlForce self)
- /**
encapsulating wrapper
*/
- getClassType()
C++ Interface: get_class_type()
- getPhysicsObject()
C++ Interface: get_physics_object(LinearControlForce self)
- /**
piecewise encapsulating wrapper
*/
- get_class_type()
C++ Interface: get_class_type()
- get_physics_object()
C++ Interface: get_physics_object(LinearControlForce self)
- /**
piecewise encapsulating wrapper
*/
- setPhysicsObject()
C++ Interface: set_physics_object(const LinearControlForce self, const PhysicsObject po)
- /**
encapsulating wrapper
*/
- setVector()
C++ Interface: set_vector(const LinearControlForce self, const LVector3f v) set_vector(const LinearControlForce self, float x, float y, float z)