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"

'Detach Actor' Destroys Actor??

I'm currently trying to attach an actor to a car as a component on overlap, and then detach them after a variable trigger (i.e. a delay). Currently, the Attach works fine, but after the specified delay that I am using in testing, the actor is deleted from the scene completely when the detach node fires. I would like to place the actor [being attached] next to the car wherever the car has driven to, and also am unsure how to achieve this as my actor is deleted before I can test my SetTransform code. Any help would be much appreciated!!alt text

Product Version: UE 4.13
Tags:
detachactor.png (77.3 kB)
more ▼

asked Nov 22 '16 at 04:39 PM in Blueprint Scripting

avatar image

ElizeSinka
13 4 8 11

avatar image Nken418 Nov 23 '16 at 03:55 PM

Over in your world outliner does your actor count actually go down or is your detached actor just nowhere to be found?

avatar image ElizeSinka Nov 23 '16 at 04:24 PM

It deletes it completely, I'm curious as to why this might be a default for this node, if not I've messed up somewhere!

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

2 answers: sort voted first

I have found a workaround; not sure why the problem is occurring but I managed to make it work by teleporting the actor to a location x:200 and y:200 away from the car's GetActorLocation. alt text

resolved.png (93.6 kB)
more ▼

answered Nov 23 '16 at 04:23 PM

avatar image

ElizeSinka
13 4 8 11

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

It's because it's using the relative location still after you detach it.

more ▼

answered Jul 08 '18 at 10:17 PM

avatar image

hellomodder
13 3 2 4

avatar image Shmann Jul 15 '18 at 10:11 PM

I have the problem only for the client and I use for detaching and attaching only world rules. Can you help me to fix the problem? If you need more specified information just ask.

(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