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