![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Favkis |
all tutorials say just do velocity=rootmotion.origin/delta and apply it, but it’s completely wrong:
delta is physics delta and animationtree is in process, so it has it’s own delta. Animation is not related to physics at all, and root motion transform is single frame change, so using it in physics_process is wrong.
All these examples work great in their completely empty projects where FPS is higher than physics FPS, however if it is otherwise, you’ll see that the lower your FPS, they higher wrongness of this logic is, at physics FPS at 120 (I have to use it for physics based game) and actual 40 render FPS, root motion kinematic body logic is 3 TIMES as wrong, single character step makes them fly forward and stuf
So is there anyone who can explain how to actually use rootmotion to move kinematic body?