ConeEquation constructor
ConeEquation(})
Implementation
ConeEquation(
Body bodyA,
Body bodyB,
{
Vec3? axisA,
Vec3? axisB,
this.angle = 0,
double maxForce = 1e6,
}
):super(bodyA,bodyB,-maxForce,maxForce) {
this.axisA = axisA?.clone() ?? Vec3(1, 0, 0);
this.axisB = axisB?.clone() ?? Vec3(0, 1, 0);
}