Move component to snapping
I have a small issue with my blueprint. It's a simple bridge mechanic that extends when the power is turned on. However when the player toggles the power on and off quickly the bridge start snapping into place.
Any idea on how to fix this?
asked Aug 22 '18 at 11:56 AM in Blueprint Scripting
I believe it's an issue with the MoveComponentTo - the node is simplifying a lot but it's not very flexible. If I remember correctly, interrupting the movement causes what you're experiencing. You might be able to get what you need by stopping and restarting it but that's a lot of wires.
You will get a much more consistent and cleaner (!) solution with a Timeline + Lerp.
Just answered someone else's question with this, so there goes my clipboard, use example:
Use Play & Reverse to get it working correctly - the Timeline will remember where you left off when switching directions.
Follow this question
Once you sign in you will be able to subscribe for any updates here