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"

Begin Overlap event doing weird things

Ok. This is driving me completely crazy.

I'm trying to make a simple pickup, and when you touch it, it destroys itself. For some strange reason, the Begin Overlap event that I use to destroy the actor only works if the actor is rotating. See the attached screenshot:

BluePrint

That works perfectly. When I touch the actor, it destroys itself. Now, let's disconnect that wire from Event Tick to Add Actor Local Rotation. Event Actor Begin Overlap stops working completely. Even if the wire is connected but the 3 axis of rotation are 0, it stops working too.

I've been using UDK for a long time and now I feel stupid for not being able to solve such simple thing. Maybe it's a bug. I don't know.

Anyone knows what is happening? Thanks :) .

Product Version: Not Selected
Tags:
bp.jpg (59.4 kB)
more ▼

asked Mar 23 '14 at 12:37 AM in Blueprint Scripting

avatar image

PacoChan
340 24 22 202

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

6 answers: sort voted first

Thanks for the answer. I finally discovered the issue. I was doing some tests based on the side scroller blue print template. The problem is that the Capsule Component of the character had disabled Generate Overlap Events. I still find strange that, if it was disabled, still generated those events if the objects were moving. I did more tests, and sometimes the event activated once per frame as long as I was overlaping the object.

Anyway, I managed to solve the problem. Maybe this will help someone in the future.

more ▼

answered Mar 23 '14 at 11:50 PM

avatar image

PacoChan
340 24 22 202

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

That's because that overlap event is called when the pickup overlaps something, not when something overlaps the pickup.

To do what you want, go to the Components tab, click the mesh (or collision shape) you have for your pickup, and in the details panel click Add Event: On Component Begin Overlap. A new event will be created in the event graph, plug it Destroy Actor (and delete the event you currently have).

Also, be sure that whatever component you're using has collision (if it's a static mesh), and that its collision settings have Collision Response: Pawn set to Overlap (also in the Components --> Details panel, you can just change the collision preset to OverlapOnlyPawn).

more ▼

answered Mar 25 '14 at 10:32 PM

avatar image

Ixiguis
1.2k 57 60 253

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

(Hmm, looks like my previous reply didn't appear, trying again)

That's because that overlap event is called when the pickup overlaps something, not when something overlaps the pickup.

To do what you want, go to the Components tab, click the mesh (or collision shape) you have for your pickup, and in the details panel click Add Event: On Component Begin Overlap. A new event will be created in the event graph, plug it Destroy Actor (and delete the event you currently have).

Also, be sure that whatever component you're using has collision (if it's a static mesh), and that its collision settings have Collision Response: Pawn set to Overlap (also in the Components --> Details panel, you can just change the collision preset to OverlapOnlyPawn).

more ▼

answered Mar 25 '14 at 10:32 PM

avatar image

Ixiguis
1.2k 57 60 253

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

Very strange... What type of collision/component are you using for the pickup? Is it a Character-based class that is colliding with it?

more ▼

answered Mar 23 '14 at 02:02 PM

avatar image

JamesG STAFF
1.3k 8 8 32

(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