nv-tlabs / ASE

Other
793 stars 128 forks source link

About the blend in the function "get_motion_state" #57

Closed mjdxyr closed 1 year ago

mjdxyr commented 1 year ago

Hi! Your work is awesome. I have a simple problem ,why "root_pos" in the function "get_motion_state" will blend but "root_ang_vel" does not blend?

xbpeng commented 1 year ago

this is mainly because if you keep the velocity constant between timesteps, it will ensure that if you start at the first keyframe, and integrate forward in time with the constant velocity, then it will eventually hit the second keyframe. However, if you linearly blend the velocities as well, then integrating the interpolated velocity will not necessarily guarantee that you will hit the next keyframe. So the velocities are not interpolated, and this also as the benefit of saving some compute.

mjdxyr commented 1 year ago

Thank you very much for your help!