Exemple #1
0
        public override SimElementDefinition saveToDefinition()
        {
            var definition = new BEPUikRevoluteJointDefinition(Name)
            {
                WorldFreeAxis = joint.WorldFreeAxisA.toEngineVec3()
            };

            setupJointDefinition(definition);
            return(definition);
        }
Exemple #2
0
 public RevoluteJointRenderer(BEPUikRevoluteJointDefinition definition)
 {
     this.definition = definition;
 }
Exemple #3
0
 public BEPUikRevoluteJoint(BEPUikBone connectionA, BEPUikBone connectionB, BEPUikRevoluteJointDefinition definition, String name, SimObject instance)
     : base(connectionA, connectionB, name, instance)
 {
     joint = new IKRevoluteJoint(connectionA.IkBone, connectionB.IkBone, definition.WorldFreeAxis.toBepuVec3());
     setupJoint(definition);
 }