public override SimElementDefinition saveToDefinition()
        {
            var def = new BEPUikPointOnLineJointDefinition(Name)
            {
                LineDirection = joint.LineDirection.toEngineVec3()
            };

            setupJointDefinition(def);
            return(def);
        }
 public BEPUikPointOnLineJoint(BEPUikBone connectionA, BEPUikBone connectionB, BEPUikPointOnLineJointDefinition definition, String name, SimObject instance)
     : base(connectionA, connectionB, name, instance)
 {
     joint = new IKPointOnLineJoint(connectionA.IkBone, connectionB.IkBone, instance.Translation.toBepuVec3(), definition.LineDirection.toBepuVec3(), instance.Translation.toBepuVec3());
     setupJoint(definition);
 }
 public PointOnLineJointRenderer(BEPUikPointOnLineJointDefinition definition)
 {
     this.definition = definition;
 }