RopeJoint constructor

RopeJoint(
  1. IWorldPool worldPool,
  2. RopeJointDef def
)

Implementation

RopeJoint(IWorldPool worldPool, RopeJointDef def) : super(worldPool, def) {
  _localAnchorA.setFrom(def.localAnchorA);
  _localAnchorB.setFrom(def.localAnchorB);

  _maxLength = def.maxLength;
}