protected BaseObject allocMirrorJoint(string name, BaseObject parentJoint, BaseObject mirrorJoint) { double3 vecparent = mirrorJoint.GetAbsPos(); BaseObject myJoint = this.allocJoint(name, parentJoint, new double3(vecparent.x * -1, vecparent.y, vecparent.z)); return myJoint; }
protected BaseObject allocMirrorJoint(string name, BaseObject parentJoint, BaseObject mirrorJoint) { Vector3D vecparent = mirrorJoint.GetAbsPos(); BaseObject myJoint = this.allocJoint(name, parentJoint, new Vector3D(vecparent.X * -1, vecparent.Y, vecparent.Z)); return myJoint; }