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"

FBX UCX collision meshes not working

I think those two pictures illustrate my issue perfectly:

19 collision boxes I have prepared, none of these has more than 8 vertices, 6 faces, 12 edges. alt text

A sole, one, single, singular, lone blob of a collision box UE thinks I wanted. alt text

What am I doing wrong? Do I have to split every single wall into a separate mesh and import it separately too? Or do I have to keep trying to make collision boxes inside of Unreal, with box scaling jumping in a metre-long increments and other imprecise tools?

Product Version: UE 4.11
Tags:
collison_1.png (284.0 kB)
collision_2.png (619.2 kB)
more ▼

asked Apr 12 '16 at 07:20 PM in Using UE4

avatar image

Angius
72 4 11 11

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

2 answers: sort voted first

My understanding is that UE only supports a single convex collider per mesh (and will helpfully auto-convert a non-convex collider into a convex one, as you have seen). So yes, you'll need to split up your mesh into convex portions and import them individually.

more ▼

answered Apr 12 '16 at 08:16 PM

avatar image

CleanCut
2.1k 66 84 77

avatar image Angius Apr 12 '16 at 08:44 PM

Thing is, I can set those 19 collision boxes in Unreal and it will work. Also none of them is non-convex.

It's exactly as the documentation requires, there was an example with a lollipop - stick collision box as a separate object from the candy collision box. And I do, in fact, have nineteen separate collision box objects, none of them being convex.

In my understanding, the mesh being convex or not doesn't matter - collision boxes being convex or not do.

avatar image CleanCut Apr 12 '16 at 08:49 PM

Cool, I've learned something new today, then!

Maybe one of your import settings was wrong. Did you forget to uncheck "Auto Generate Collision" in your FBX Import Options dialog?

avatar image Angius Apr 12 '16 at 09:00 PM

I didn't uncheck it initially. I did it now, and the mesh has no collision whatsoever now.

avatar image CleanCut Apr 12 '16 at 08:59 PM

Oh, I think I found the actual problem:

The naming of the meshes is very, very important. If your model is named:

 modelname

then your collision mesh needs to be named (assuming you want a convex collision)

 UCX_modelname_xx    (the _xx part is optional)


You have:

 interior_walls.000
 UCX_mothership_interior_walls_00

See the problem? I would try this:

 interior_walls.000
 UCX_interior_walls.000_00

or something even simpler if that doesn't work:

 interiorwallsA
 UCX_interiorwallsA_00
avatar image Angius Apr 12 '16 at 09:08 PM

Ah, yes, the UCX_interior_walls.000_00 method works perfectly!

Thank you, I simply thought the collision mesh needs to be named after the *.fbx file, not after the object isnide that file.

Too bad I can't mark this comment as a correct answer...

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

Go to your mesh asset in "collision" tab change in the "Collision Complexity" by "Project Default" to "Use Complex Collision as Simple"

more ▼

answered Jan 04 '18 at 08:00 PM

avatar image

DanGamer123
1 1

avatar image DanGamer123 Jan 04 '18 at 08:01 PM

Hope this works for you

(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