六一的部落格


行百里者半九十



使用通过速度预测出来的目标位置替换骨骼所在位置;使用解锁前的位置替换WorldFinalFootTransform。

  1. 创建PredictedFootTransforms数组,并使用骨骼起始位置进行初始化


  2. 创建函数UpdateFootPredictions,添加到CalculateCycle之后,MoveFeetTransforms之前


  3. 搭建函数框架



创建UpdateFootPredictions函数


使用通过速度预测出来的目标位置替换骨骼所在位置;使用解锁前的位置替换WorldFinalFootTransform。

  1. 创建PredictedFootTransforms数组,并使用骨骼起始位置进行初始化


  2. 创建函数UpdateFootPredictions,添加到CalculateCycle之后,MoveFeetTransforms之前


  3. 搭建函数框架