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

            setupJointDefinition(definition);
            return(definition);
        }
Exemplo n.º 2
0
 public RevoluteJointRenderer(BEPUikRevoluteJointDefinition definition)
 {
     this.definition = definition;
 }
Exemplo n.º 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);
 }