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"

(FIXED)Destroy Actor not working (Game Collectables)

EDIT: Figured it out, I just needed to change the Collision Preset for the BP mesh from BlockAllDynamic to OverlapPawnOnly. Sorry for the thread bloat.

I'm trying to get a simple "collectable" BP going (e.g. coins in Mario). I originally used Event On Hit but quickly realized that I didn't want my enemy character removing "coins" from the world, as it should only be the player doing so.

I've looked around at several tutorials but cannot seem to get anything working. This current setup only manages to let my player pawn run into the coin mesh but it's solid and nothing happens. I tried to tie a Print String to the output and not even that is coming up in my output log.

Is the GetClass not supposed to reference TwinStickPawn and instead something else? Is that's why it's grayed out?

Any ideas? Thank you.

Product Version: UE 4.17
Tags:
more ▼

asked Dec 16 '17 at 08:20 PM in Blueprint Scripting

avatar image

Pachyderm
14 2 3 6

avatar image jerri_asf Dec 16 '17 at 09:16 PM

Twin Stick Pawn, thats the name of ur pawn blueprint?

avatar image Pachyderm Dec 16 '17 at 09:40 PM

Thanks for the reply, I actually just figured it out. I updated the OP.

avatar image jerri_asf Dec 16 '17 at 09:45 PM

oh ok. my answer came late. lol

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

1 answer: sort voted first

do this instead. dont forget to set collision presets to "overlap only pawn"alt text

capture2.jpg (35.3 kB)
capture1.jpg (96.3 kB)
more ▼

answered Dec 16 '17 at 09:43 PM

avatar image

jerri_asf
76 1 3 1

avatar image Pachyderm Dec 16 '17 at 09:54 PM

Thanks I'll be sure to cross reference this with what I have already (Edit: Naturally it works even better now, I appreciate it!)

avatar image jerri_asf Dec 16 '17 at 10:16 PM

im glad i could help

(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