这篇文章写的非常详细: RootMotionSource原理分析和插件封装
性能优化
simulate step
所谓的step,就是当一帧时间过长时候(帧率低或者卡顿的时候),移动组件会把这个时间拆分成小的step,每一个step完整跑一段移动模拟,每一段移动模拟至少产生三次物理碰撞检测(sweep),step up,step forward, step down。
Six ingredients for a dynamic third person camera
Camera Shake
UCameraShakePattern
- UWaveOscillatorCameraShakePattern:A camera shake that uses oscillations to move the camera.
- UPerlinNoiseCameraShakePattern:A camera shake that uses Perlin noise to shake the camera.