MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getReactionTorque

Method getReactionTorque

src/constraint/BallAndSocketJoint.cpp:152–155  ·  view source on GitHub ↗

Return the torque (in Newtons * meters) on body 2 required to satisfy the joint constraint in world-space * @return The current torque (in Newtons * meters) on body 2 */

Source from the content-addressed store, hash-verified

150 * @return The current torque (in Newtons * meters) on body 2
151 */
152Vector3 BallAndSocketJoint::getReactionTorque(decimal timeStep) const {
153 assert(timeStep > MACHINE_EPSILON);
154 return Vector3(0, 0, 0);
155}
156
157// Return a string representation
158std::string BallAndSocketJoint::to_string() const {

Callers

nothing calls this directly

Calls 1

Vector3Class · 0.50

Tested by

no test coverage detected