public void LoadPose(string path) { var pose = VpdReader.Read(path); _playTime = 0.0; UpdateBones(); ResetMesh(); RestartBonePoseCalculation(pose); }
public void LoadPose(string path) { MotionPath = path; ReleaseBonePoseFile(); var pose = VpdReader.Read(path); _playTime = 0.0; UpdateBones(); ResetMesh(); RestartBonePoseCalculation(pose, 1.0f / PhysicsFps); }