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"

UE4 casting to a destructible mesh

Hi there. I'd have thought this was a fairly straight forward thing to do but I've been having trouble. I have collectible coins where the coins are attracted to the player when they overlap a sphere collision attached to the coin. everything with the coins works fine. However, my aim is to have a coin spawn once i destroy a destructible mesh, i have the destructible mesh working when I hit it and stuff and the coin spawns fine, but what I'm trying to accomplish is when the coins spawn a new (from the destructible mesh) they delay a little before they are magnetized to my player. So what I have is this - alt text You can see I am casting after my player overlaps the sphere of the coin, then I think the problem occurs when I cast to the destructible mesh. The destructible cast is failing according to my debugging. So I am thinking it is probably to do with the object I have attached to the cast. Is it something other than Get Owner? or is the problem that I'm casting to 2 things? maybe it's the order in which I have the cast?

Any help would go a long way. Thanks in advance, even if the answer is super obvious. :)

Product Version: UE 4.17
more ▼

asked Aug 21 '17 at 07:52 AM in Using UE4

avatar image

28 7 7 12

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

0 answers: sort voted first
Be the first one to answer this question
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