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"

Collision not working

I have a blueprint with two objects in it like so: a foundation piece and an air storage tank on top of it.

alt text

The screenshot above shows the lines that are rendered for the foundation piece when you show collision in the editor ("Show" button and select "Collision" from the menu).

Right now, we're seeing that hit-testing (via GetHitResultAtScreenPosition()) doesn't work with the foundation specifically because it has collision geometry, and this seems to prevent it from working.

The hit testing passes right through the foundation piece regardless of whether we pass in true or false for "bTraceComplex" and regardless of which version of GetHitResultAtScreenPosition() we call or what combination of ECollisionChannel or ETraceTypeQuery flags we use.

The collision for this piece is in UCX_rendermeshname_## format per unreal documentation.

A similar foundation piece with identical geometry does work because it uses the render mesh for collision instead.

Why might this not be working? If the Unreal editor can render it as in the screenshot above, it clearly knows that it exists; why is it not colliding properly?

Product Version: Not Selected
Tags:
more ▼

asked Mar 11 '14 at 02:28 AM in C++ Programming

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

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

I've now put the .uasset for the static mesh for the foundation piece up in the FTP site; it's in

ftp://Rocket_FTP_Dropbox@ftp.epicgames.com/Mothership_Entertainment/CollisionBug/city-foundation-1x1-01.uasset

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

4 answers: sort voted first

OK, this is fixed now -- what we actually needed to do was go into the static mesh editor and go to Static Mesh / Body Setup / Collision Complexity and set Use Simple Collision as Complex.

more ▼

answered Mar 11 '14 at 02:28 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

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

That's an interesting issue!

I've verified that UBX_RenderMeshName works for pawn collision with a tree trunk I set up in 3ds max

Have you tried UBX? B is for box, (UCX is for misc. convex shapes)

more ▼

answered Mar 11 '14 at 11:10 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

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

You might need to update your FBX Plugin and re-export.

more ▼

answered Mar 11 '14 at 02:28 AM

avatar image

ue4-archive ♦♦ STAFF
49.9k 3662 1988 9113

(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