public override SimElementDefinition saveToDefinition()
        {
            var definition = new BEPUikBallSocketJointDefinition(Name);

            setupJointDefinition(definition);
            return(definition);
        }
 public BEPUikBallSocketJoint(BEPUikBone connectionA, BEPUikBone connectionB, Vector3 anchor, BEPUikBallSocketJointDefinition definition, String name, SimObject instance)
     : base(connectionA, connectionB, name, instance)
 {
     joint = new IKBallSocketJoint(connectionA.IkBone, connectionB.IkBone, anchor.toBepuVec3());
     setupJoint(definition);
 }