PrismaticJoint constructor
PrismaticJoint({})
Implementation
PrismaticJoint({
super.otherNode,
required Vector3 axis,
Vector3? localAnchorA,
Vector3? localAnchorB,
double? lowerLimit,
double? upperLimit,
double? motorTargetVelocity,
double? motorMaxForce,
super.collisionsEnabled,
}) : _localAxisA = axis,
_localAxisB = axis.clone(),
_localAnchorA = localAnchorA ?? Vector3.zero(),
_localAnchorB = localAnchorB ?? Vector3.zero(),
_lowerLimit = lowerLimit,
_upperLimit = upperLimit,
_motorTargetVelocity = motorTargetVelocity,
_motorMaxForce = motorMaxForce;