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?
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?
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.
Thank you!
I will definitely try it out
It works, thank you!