Spline tool collision bug?

Hello everybody,

I just want to report a bug or maybe I did something wrong. But if I create a simple road with spline tool and checked box “enable collision” in spline tool mesh and also select “Use Complex Collision as Simple” in mesh itself than mesh I spawned with spline tool doesn’t get any collsion. What could be reason for it, is it a bug or did I just forgot something? I want a 1:1 collision for spline mesh, so I want to use the " 1:1 model collision".

Sorry for my English.

best regards

Hey frezer,

I followed your steps but was unable to duplicate issue you described. Let me list my steps, and if anything seems different than what you did maybe we can narrow down source of problem.

  1. Create new Landscape
  2. Change Landscape Manage tool to Edit Splines
  3. CTRL + LMB click to add multiple splines (I made a simple circle)
  4. In Details panel, while still in Edit Splines mode, made sure Enable Collision was checked (it was enabled by default)
  5. Added a simple Cube Mesh to Spline
  6. Opened Mesh in Mesh Editor
  7. Changed Collision Complexity to Use Complex Collision As Simple
  8. Clicked Play

Doing it this way, my Mesh had collision working just fine. Did I miss any steps you took? Is there anything special about Mesh you are using? Any additional information we may be missing?

Best,

Thanks for your comment, well you didn’t miss any step I did. I did it exactly like you did, it’s weird it seems like road part I created is a little bit buggy in collision. Normal collision like 26DOP… works for mesh, but “Use Complex Collision as Simple” doesn’t work. What could be reason for it?

But not only road part I created can’t use custom collisions (Use Complex Collision as Simple), also on other models it doesn’t work.

Does this occur in any other projects or in a new project as well?

Ok well collisions working now, with (Complex Collision as Simple). But problem is still with spline tool, I added road part mesh to spline mesh list, and it’s not getting any collision even with “Enable Collision” box checked. But when I spawn mesh itself (drag & drop in world), than collision works.

Maybe there is one more thing to mention, I select spline and click under"Landscape Spline" on “Segments”, than I click on "Spline Meshes at bottom and click on the “+” and add a mesh in number “0” and also I set Forward Axis to “Y”.

What could be reason for it? Is it a bug?

Seems like it’s really a bug, I give it now a lot of trys with different models, even with them in ue4. But collision is still not there for model, so segments spline tool with a mesh selected seems to be have a collision problem with (use complex collision…) . But when I drag & drop object itself with ocmplex collision into world than collision works. I hope you will fix it. :slight_smile:

Best regards

I got same trouble, when drag and drop into world mesh as collision, but with spline tool collision is no more there . Anyone have an answer ? Thanks

I am unable to reproduce this. I have a race track mesh that has collision that I’ve used and am able to use it within editor on a spline with collision still there.

Can you provide a detailed list of your repro steps. There may be something that is being missed that simply needs to be enabled to give you collision.

Let me know and I’ll help you figure it out! :slight_smile:

  1. Create a concave mesh in 3ds max like in my post here (i’m pretty sure there is no problem with convexe mesh)
  2. Apply a UVW unwrapping
  3. Import in UE4 as static mesh
  4. Create a landscape and a spline
  5. Use mesh that I import as spline mesh in all segment of spline
  6. Setup collision : check and uncheck enable collision both in my mesh and in my spline properties (due to some bug I’ve read about), then :
  7. Tried Auto convexe (not expected result)
  8. Tried Use simple as complexe (no collision)
  9. Tried use complexe as simple (no collision in spline only)
  10. Think about using UCX
  11. Learn how to use UCX and 1 hour later find solution by using UCX in 3ds max

I’ve entered a bug report for this. There is no time frame for when this will be addressed though. Thank you for detailed repro steps.

I am also effected by this bug. Any simple collision will work. Either imported via UCX_ or created in editor. But complex collisions dont work. This is currently a show stopper for my game as most of my race track is concave geometry.

PLEASE make this a higher priority to fix :frowning:

I am also effected by this bug. Any simple collision will work. Either imported via UCX_ or created in editor. But complex collisions dont work. This is currently a show stopper for my game as most of my race track is concave geometry.

PLEASE make this a higher priority to fix :frowning:

only current workaround I have, and it’s far from acceptable, is to export whole track as an FBX, reimport it, and turn on complex collisions. This of course removes ability to edit track.

Other options are use an extremely short section of road as your static mesh, with a very very complex collision mesh (mine is 14 UCX meshes imported with mes, just to get concave curve). This way it tiles collision very frequently, giving you accurate collisions even around smooth turns. But results in have 1000s of individual pieces, all which will bake their own individual lightmaps out. Not an option :confused:

I know no timeframe was mentioned. But is there somewhere I can view and vote for this bug? This is a show-stopper for my racing game.

EDIT: I’ve fixed this. mesh had a material with transparency and apparently splines don’t like that, or I haven’t got something checked off that I should have had.


Hey

Sorry to necro this thread, but I thought I’d post here instead of a new topic.

I’m also having issues with complex collision on splines, except although collision works, I take a huge performance hit.
I have simple AI vehicles that follow waypoints, and when they enter my tunnel spline, framerate steadily drops until it’s about 20fps (from 60)

This is regardless of if it’s a landscape spline or in a custom built spline BP.

geometry of tunnel is pretty simple really, with cylinder being only 20 sides and 10 segments lengthwise. Using complex collision as simple should not be causing such incredible slow down.

Alternatively, if I import a bunch of same mesh stitched together to form a single tunnel section mesh and place it in level, there is no slow down with cars driving through it

Any help is appreciated.

I load your demo map and try to drive a standard car and walk with a character from another store-asset. Both works fine elsewhere. Collision with your splines do not work. If I place a mesh from your assets it does work, but not when they are splines in your untouched demo-map.