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 Return not working

And the moment I start to feel like I understand how Blueprints work, then a problem like this hits me in the face all of a sudden.

alt text

As you can see here, I have created a simple script where I have a Cube that will move to the location of TargetPoint when an actor enters its TriggerBox, and when the node is completed, it will activate a delay that is supposed to return the Cube to it's original position after 10 seconds.

The Blueprint works totally fine, the Component moves to desired location and rotation, and the delay starts to count down. But the reason I made this is to troubleshoot a problem I've had with this node. The delay fires successfully to the Return node, but the node refuses to do anything. The Cube just stays at Target Relative Location until I reset the level.

I thought there might be somewhere to enter a second vector where it is supposed to return, but no tutorial mentions that, and a lot of tutorials never even use Return, because it is supposed to work the same as Move and Stop.

Is there anything I'm missing here, or something i might have forgotten to check?

Thank you in advance.

Product Version: UE 4.12
Tags:
movecomponentto.png (136.5 kB)
more ▼

asked Nov 08 '16 at 10:44 PM in Blueprint Scripting

avatar image

CorbisHETB
30 5 6 9

avatar image Calamity_Jones Jan 18 '17 at 08:51 PM

I have the same issue...

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

1 answer: sort voted first

For everyone who still don't know answer and got on this page, like me, looking for such answer, here is what I found out: Stop and Return can be used ONLY until Move Component To node is completed, so in other words until movement is finished. If movement is finished, then Stop and Return entries won't work. Here is detailed short video describing all those details: https://www.youtube.com/watch?v=5YQqx2odh10

What would be nice from UE team, is to provide some description about this in their official documentation: https://docs.unrealengine.com/latest/INT/BlueprintAPI/Components/MoveComponentTo/index.html Like they did for all variables, but for some reason didn't mention any description for exec nodes.

Hope this helps everyone who will get on this page in search of answer for this question

more ▼

answered Feb 25 '17 at 10:20 AM

avatar image

BlackPrince
46 1 7 4

(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