public HandPhysicsConfiguration(HandPhysicsConfiguration conf)
 {
     this.alias    = conf.alias;
     this.fingers  = new SlaveBoneConfiguration(conf.fingers);
     this.wrist    = new SlaveBoneConfiguration(conf.wrist);
     this.specials = new SlaveBoneConfiguration(conf.specials);
 }
Exemplo n.º 2
0
        public SlaveBoneConfiguration(SlaveBoneConfiguration conf)
        {
            followsRotation    = conf.followsRotation;
            maxAngularVelocity = conf.maxAngularVelocity;

            rotationDrive      = conf.rotationDrive;
            useDynamicStrength = conf.useDynamicStrength;
            minDynamicRotDrive = conf.minDynamicRotDrive;
            maxDynamicRotDrive = conf.maxDynamicRotDrive;

            followsPosition   = conf.followsPosition;
            useTargetPos      = conf.useTargetPos;
            maxLinearVelocity = conf.maxLinearVelocity;

            positionDrive = conf.positionDrive;

            rigidbodyMass = conf.rigidbodyMass;
            rigidbodyDrag = conf.rigidbodyDrag;
            useGravity    = conf.useGravity;

            jointMassScale          = conf.jointMassScale;
            jointConnectedMassScale = conf.jointConnectedMassScale;
        }