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"

Unable to interact with spawned actor

I'm using the "Top-down" project as a base and need to spawn a certain actor at a point. To summarize my problem:

-Manually placing the problem actor through the editor then hitting play allows it to receive both click and cursor over events

-However, when the actor is spawned via the player-controlled pawn (by a click event), neither the click nor cursor events work on the spawned actor

-Even after the actor is spawned, the originally placed actor still responds to click and cursor events

-At the moment the actor only has an ActorBeginCursorOver event, so posting a screenshot wouldn't really help

-If the manually inserted actor is removed so that the only instance is spawned, the mouse events still do not work.

So somehow the spawning interferes with the actor's ability to be interacted with. Anyone have any suggestions what may be causing this?

Product Version: UE 4.10
Tags:
more ▼

asked Feb 18 '16 at 08:03 AM in Blueprint Scripting

avatar image

mark1strelok
3 1 1 3

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

1 answer: sort voted first

I actually managed to solve this, but I'm not sure if the problem I encountered is an error or not. Previously I had the actor blueprint have a "cube" mesh added to it as a placeholder for when I added my own mesh later. Since a cube didn't really fit the shape of the later mesh, I replaced it with a sphere and calling it the same name so that the references still worked. After this I had all the problems where the actor was unresponsive. By making a new actor and leaving the attached mesh alone, I do not have this problem. No idea why this occurs, but I can at least move on now that I've figured it out.

more ▼

answered Feb 22 '16 at 12:49 AM

avatar image

mark1strelok
3 1 1 3

(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