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"

[Bug] Event Hit not called on brush hits

It seems the blueprint event "Event Hit" is only called when the actor hits another actor (including static meshes), but not when it hits a brush. Is this intentional or a bug? Or something that can be adjusted/fixed?

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:54 AM in Blueprint Scripting

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hi Jefferson,

It is expected behavior, and not a bug, that BSP brushes do not generate hit events. When the game is started, all BSPs are combined as one in the UWorld, making it unfeasible to try to generate unique hit events. The bug here may actually be the fact that you are given options for adding these events.

As Rama mentioned, the solution is to use StaticMeshes.

Cheers

more ▼

answered Mar 11 '14 at 02:54 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

(comments are locked)
10|2000 characters needed characters left

Dear Pinheiro,

I think a great workaround for this could be what Alexander posted on a separate topic related to Camera collision:

The work around for this issue currently is to go into the BSPs' Details windows and convert them into Static Meshes under the advanced Brush section. You may need to go into the Static Mesh editor of the new BSP-StaticMesh and reset the Lightmass Coordinates Index by typing in 1 (it should reset back to 0)

:)

Rama

more ▼

answered Mar 11 '14 at 02:54 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3660 1983 9111

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:54 AM

Ah, so it is indeed a bug then.

Thanks for the tip Rama. :)

But I'd really prefer that this was fixed. I can't ensure our level design team (i.e. me) won't forget to convert every brush to SM.

avatar image ue4-archive ♦♦ STAFF Mar 11 '14 at 02:54 AM

I seem to recall James Golding mentioning something about this topic of Hit Event and Brushes, you might want to search the UDN :)

avatar image CBrew Mar 23 '14 at 09:55 PM

Hey Rama! If I have multiple BSP brushes can I convert them all to 1 static mesh? I have done it, but I can't get the collision to work like it did when they were brushes. Otherwise I will have to convert every brush into a static mesh which is ok, I would just like to see if there is an easier way.

(comments are locked)
10|2000 characters needed characters left
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