public void LoadPose(string path)
        {
            var pose = VpdReader.Read(path);

            _playTime = 0.0;
            UpdateBones();
            ResetMesh();
            RestartBonePoseCalculation(pose);
        }
示例#2
0
        public void LoadPose(string path)
        {
            MotionPath = path;
            ReleaseBonePoseFile();
            var pose = VpdReader.Read(path);

            _playTime = 0.0;
            UpdateBones();
            ResetMesh();
            RestartBonePoseCalculation(pose, 1.0f / PhysicsFps);
        }