JointConfig constructor
JointConfig({})
Implementation
JointConfig({
this.body1,
this.body2,
this.scale = 1,
this.invScale= 1,
this.allowCollision = false,
Vec3? localAnchorPoint1,
Vec3? localAnchorPoint2,
Vec3? localAxis1,
Vec3? localAxis2
}){
this.localAnchorPoint1 = localAnchorPoint1 ?? Vec3();
this.localAnchorPoint2 = localAnchorPoint2 ?? Vec3();
this.localAxis1 = localAxis1 ?? Vec3();
this.localAxis2 = localAxis2 ?? Vec3();
}