SPOOK parameter
SPOOK parameter
SPOOK parameter
Maximum (read: positive max) force to be applied by the constraint.
Minimum (read: negative max) force to be applied by the constraint.
A number, proportional to the force added to the bodies.
Static
idRecalculates a, b, and eps.
The Equation constructor sets typical SPOOK parameters as such:
stiffness
= 1e7relaxation
= 4timeStep
= 1 / 60, note the hardcoded refresh rate.
Equation base class.
a
,b
andeps
are SPOOK parameters that default to0.0
. See this exchange for more details on Cannon's physics implementation.