[2.1.14] Pumps that didn't fully retract, instantly snap to wagon
Posted: Fri Aug 07, 2026 11:36 pm
video demonstration attached
likely cause: i suppose there's a float flag which lerps the animation state between retracted and fully deployed onto position of wagon's fluid port. the target variable is updated instantly, regardless of animation status, and that causes it to snap.
potential fix: add another variable which stores previous position of fluid port, and use lerp range from -1 to 1, where 1 is fully deployed onto active position, 0 is fully retracted, -1 is fully deployed onto previous position
likely cause: i suppose there's a float flag which lerps the animation state between retracted and fully deployed onto position of wagon's fluid port. the target variable is updated instantly, regardless of animation status, and that causes it to snap.
potential fix: add another variable which stores previous position of fluid port, and use lerp range from -1 to 1, where 1 is fully deployed onto active position, 0 is fully retracted, -1 is fully deployed onto previous position