# class neJointController

The joint controller is an object passed to the application during a joint controller callback. Using the joint controller object, the application can find out the joints which are currently being controlled, and the application can specify the force and torque to be applied to the body by the controller.

neJoint * GetJoint();
neV3 GetControllerForceBodyA();
neV3 GetControllerForceBodyB();
neV3 GetControllerTorqueBodyA();
neV3 GetControllerTorqueBodyB();
void SetControllerForceBodyA(const neV3 & force);
void SetControllerForceBodyB(const neV3 & force);
void SetControllerForceWithTorqueBodyA(const neV3 & force, const neV3 & pos);
void SetControllerForceWithTorqueBodyB(const neV3 & force, const neV3 & pos);
void SetControllerTorqueBodyA(const neV3 & torque);
void SetControllerTorqueBodyB(const neV3 & torque);