RotationalEquation constructor
RotationalEquation(})
Implementation
RotationalEquation(
Body bodyA,
Body bodyB,
{
Vec3? axisA,
Vec3? axisB,
this.maxAngle = math.pi/2,
double maxForce = 1e6
}
):super(bodyA, bodyB, -maxForce, maxForce) {
this.axisA = axisA?.clone() ?? Vec3(1, 0, 0);
this.axisB = axisB?.clone() ?? Vec3(0, 1, 0);
}