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"

Hit event not triggering when object rotates or moves into my character while it's idle.

I'm still pretty new to Unreal Engine, but I've been prototyping a game where you're a little blue ball and you traverse a maze where you can't touch anything with a red edge. I got it to work fairly easily. When my character moves into an object with a red edge, it proceeds to explode and then respawn at the checkpoint. But now I've added moving objects to the game, that have the deadly red edges. If I move into them, I explode, but if I sit there idly and wait for them to bump into me, instead of exploding, my character will be pushed and/or rotated in the direction the red objects are moving. Sometimes, I'm even able to move inside of the red objects, before inevitably exploding once I try to escape. This is a feature I do not want in the game. All my code is in my Player under the Event "On Hit", which I've read is triggered when it hits or is hit by something else. I've tried all sorts of things, but nothing seems to be working. I am getting an error in the reports that it can't access my movement and body components because they're "pending kill". I'm wondering if the movement of the objects is causing my "On hit" to trigger and trigger before it has a chance to finish, and if so, how could I possibly fix it?

Product Version: UE 4.12
more ▼

asked Nov 13 '16 at 02:43 PM in Blueprint Scripting

avatar image

Timmy Skittles

(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