src/equations/ConeEquation.js:7
Cone equation. Works to keep the given body world vectors aligned, or tilted within a given angle from each other.
ConeEquationbodyA
bodyB
[options.axisA]
[options.axisB]
[options.angle]
[options.maxForce=1e6]
Defined in
src/equations/ConeEquation.js:7
addToWlambdadeltalambda
Inherited from
Equation:
src/equations/Equation.js:228
Add constraint velocity to the bodies.
deltalambda
Number
computeBInherited from
Equation:
src/equations/Equation.js:95
Computes the RHS of the SPOOK equation
computeGiMfInherited from
Equation:
src/equations/Equation.js:159
Computes Ginv(M)f, where M is the mass matrix with diagonal blocks for each body, and f are the forces on the bodies.
computeGiMGtInherited from
Equation:
src/equations/Equation.js:191
Computes Ginv(M)G'
computeGqInherited from
Equation:
src/equations/Equation.js:107
Computes G*q, where q are the generalized body coordinates
computeGWInherited from
Equation:
src/equations/Equation.js:124
Computes G*W, where W are the body velocities
computeGWlambdaInherited from
Equation:
src/equations/Equation.js:142
Computes G*Wlambda, where W are the body velocities
computeInvCeps
Inherited from
Equation:
src/equations/Equation.js:262
Compute the denominator part of the SPOOK equation: C = Ginv(M)G' + eps
eps
Number