LinearVectorForce

class LinearVectorForce

Bases: LinearForce

Simple directed vector force. Suitable for gravity, non-turbulent wind, etc…

Inheritance diagram

Inheritance diagram of LinearVectorForce

explicit LinearVectorForce(LVector3 const &vec, PN_stdfloat a = 1.0, bool mass = false)
explicit LinearVectorForce(PN_stdfloat x = 0.0, PN_stdfloat y = 0.0, PN_stdfloat z = 0.0, PN_stdfloat a = 1.0, bool mass = false)
LinearVectorForce(LinearVectorForce const &copy)

Vector Constructor

Default/Piecewise constructor

Copy Constructor

static TypeHandle get_class_type(void)
LVector3 get_local_vector(void) const
void set_vector(LVector3 const &v)
void set_vector(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z)

encapsulating wrapper

piecewise encapsulating wrapper