Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.29k stars 344 forks source link

transform. DOShakePosition is stuck #638

Closed NRatel closed 9 months ago

NRatel commented 1 year ago

Through the actual test, the transform. DOShakePosition when introduced to a longer duration, there will be a serious stuck。 There must be a need for continuous vibration, and it seems that the results of 0~999s should not be calculated in a frame before execution.

经过实际测试,transform.DOShakePosition 在传入一个长的 duration 时(比如 999),会出现严重卡顿。 持续震动的需求是必然存在的,似乎不应该在一帧内把 0~999s 的结果全算出来再执行。