LinearCylinderVortexForce

class LinearCylinderVortexForce

Bases: LinearForce

Defines a cylinder inside of which all forces are tangential to the theta of the particle wrt the z-axis in local coord. space. This happens by assigning the force a node by which the cylinder is transformed. Be warned- this will suck anything that it can reach directly into orbit and will NOT let go.

Inheritance diagram

Inheritance diagram of LinearCylinderVortexForce

explicit LinearCylinderVortexForce(PN_stdfloat radius = 1.0, PN_stdfloat length = 0.0, PN_stdfloat coef = 1.0, PN_stdfloat a = 1.0, bool md = false)
LinearCylinderVortexForce(LinearCylinderVortexForce const &copy)

Simple Constructor

copy Constructor

static TypeHandle get_class_type(void)
PN_stdfloat get_coef(void) const
PN_stdfloat get_length(void) const
PN_stdfloat get_radius(void) const
void set_coef(PN_stdfloat coef)
void set_length(PN_stdfloat length)
void set_radius(PN_stdfloat radius)