LinearUserDefinedForce

class LinearUserDefinedForce

Bases: LinearForce

A programmable force that takes an evaluator function.

Inheritance diagram

Inheritance diagram of LinearUserDefinedForce

explicit LinearUserDefinedForce(LVector3 (*proc)(PhysicsObject const *) = nullptr, PN_stdfloat a = 1.0, bool md = false)
LinearUserDefinedForce(LinearUserDefinedForce const &copy)

constructor

copy constructor

static TypeHandle get_class_type(void)
void set_proc(LVector3 (*proc)(PhysicsObject const*))