Ejemplo n.º 1
0
        // ----------------------------------------------------------------------
        #region Constructor

        // Default constructor.
        public MyAnimationController()
        {
            m_layers = new List<MyAnimationStateMachine>(1);
            m_tableLayerNameToIndex = new Dictionary<string, int>(1);
            Variables = new MyAnimationVariableStorage();
            ResultBonesPool = new MyResultBonesPool();
            InverseKinematics = new MyAnimationInverseKinematics();
            FrameCounter = 0;
            IkUpdateEnabled = true; // turning off IK part (unfinished)
        }
Ejemplo n.º 2
0
        // ----------------------------------------------------------------------
        #region Constructor

        // Default constructor.
        public MyAnimationController()
        {
            m_layers = new List<MyAnimationStateMachine>(1);
            m_tableLayerNameToIndex = new Dictionary<string, int>(1);
            Variables = new MyAnimationVariableStorage();
            ResultBonesPool = new MyResultBonesPool();
            FrameCounter = 0;
        }