x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text

alt text

Any idea on how to fix this?

Product Version: UE 4.18
Tags:
capture.png (323.8 kB)
more ▼

asked Aug 22 '18 at 11:56 AM in Blueprint Scripting

avatar image

kaosrio
58 4 7 15

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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:

https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1465355-making-the-teleport-smooth-again?p=1465842#post1465842

Use Play & Reverse to get it working correctly - the Timeline will remember where you left off when switching directions.

more ▼

answered Aug 22 '18 at 12:01 PM

avatar image

Everynone
15.3k 77 26 64

avatar image kaosrio Aug 22 '18 at 01:53 PM

Thank you! I will definitely try it out

avatar image kaosrio Aug 22 '18 at 02:34 PM

It works, thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question