ITADN

Ghost recording doesn't work with rolls

#46Closedmpwoz 创建于 2024-07-25
M
mpwozcommented
Rolls multiply velocity when applying it to position (without actually saving velocity in the movement controller). Since ghosts record velocity, they break when the player rolls. Alternative approaches: - record position instead (would break animation) - record timestamps and grid positions and navigate between them using variable acceleration (animation works, tricky to implement correctly) - record timestamps and grid positions and lerp between them, create a new animation system for ghosts (or don't, they're floaty)
关闭于 2024-07-25 1 条评论