LinearUserDefinedForce
-
class LinearUserDefinedForce
Bases:
LinearForce
A programmable force that takes an evaluator function.
Inheritance diagram
-
explicit LinearUserDefinedForce(LVector3 (*proc)(PhysicsObject const*) = nullptr, PN_stdfloat a = 1.0, bool md = false)
-
LinearUserDefinedForce(LinearUserDefinedForce const ©)
constructor
copy constructor
-
static TypeHandle get_class_type(void)
-
void set_proc(LVector3 (*proc)(PhysicsObject const*))
-
explicit LinearUserDefinedForce(LVector3 (*proc)(PhysicsObject const*) = nullptr, PN_stdfloat a = 1.0, bool md = false)