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"

2D DestroyActor don't work

I creating game on base 2D Side Scroller. I want to create actor-fruit and destroy (eat) it when IdleActor (basic actor in 2D Side Scroller) come on to it (like as Sonic get rings when touch them). I create Blueprint Class:

alt text

Parametres of Sphere

alt text alt text

Create Event alt text

And I'm not changing anything anymore. But fruit don't destroyed. I add Blueprint Class (fruit) to the game drag them from Tab of Content Browser.

alt text

Product Version: Not Selected
Tags:
more ▼

asked Nov 02 '18 at 01:15 PM in Using UE4

avatar image

DshkK
8 1 2

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

1 answer: sort voted first

alt text

You should remove the connections and create a new one as shown in the picture.

You need to check that the actor overlapping your fruit is the character. Then if it is destroy the actor, nothing pinned in so it destroys the current bp (Fruit)

untitled.png (91.4 kB)
more ▼

answered Nov 02 '18 at 04:31 PM

avatar image

HarryHighDef
1.1k 1 12 16

avatar image DshkK Nov 09 '18 at 02:44 AM

Thanks !

(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