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 is incorrect with spline mesh

I've got a simple cube that has a 6-sided collision mesh (generated in UE4) and I'm using it as a spline mesh and updating it's deformation via a construction script.

In the editor, the collision mesh appears to be deforming along with the cube correctly as you can see, however, upon launching PIE the object behaves as if the collision mesh is not being deformed. -You can walk through the object, except in the location that the un-deformed mesh would have been sitting had I not deformed it via the spline.

alt text

Product Version: Not Selected
Tags:
bug.jpg (329.7 kB)
more ▼

asked Aug 10 '14 at 01:09 AM in Bug Reports

avatar image

Hyperloop
1.2k 57 67 99

avatar image Alexander Paschall ♦♦ EPIC Aug 12 '14 at 10:06 PM

Hi Hyperloop,

Thanks for your report. I am investigating this issue and have a question for my test. I have some things set up, but they are distorting their collision properly.

Can you show me what this looks like when you turn on the Viewport's Show Bounds? I would like to see where the collision ends up if it is not moving/skewing properly. Also, can you show me the components settings for the mesh if anything has been altered?

Cheers,

Alexander

avatar image Hyperloop Aug 12 '14 at 10:48 PM

Alexander, It's really hard to see in the first picture but in the preview it does show the collision object in blue and it does appear to be distorting correctly in the editor, it just doesn't act like it when you launch PIE. Here's a screenshot of the bounds like you asked. I'm not doing anything fancy with the mesh component beyond the defaults.

alt text

Oddly enough, even before I distort the object with the spline, the collision seems like it's messed up:

alt text

It's happening someplace in the blueprint because if I place the mesh in the world without using the BP, it collides as it should.

bounds.jpg (70.6 kB)
bounds2.jpg (41.1 kB)
avatar image Motanum Aug 15 '14 at 09:27 PM
avatar image Alexander Paschall ♦♦ EPIC Aug 15 '14 at 09:39 PM

If the wall stops your vehicle from moving through them, then no. I'll assign a more vehicle savvy technician to look into the issue you have posted.

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

1 answer: sort voted first

I recreated the Blueprint based off of the images you have provided, but I have collision at the ends of my spline mesh.

Here is what I set up in my Blueprint construction script:

alt text

And when I place that into the world and stretched it out, I was able to walk over everything, generate navmesh on it and then I tried doing a hit trace:

alt text

Are you doing this in a Third Person project by any chance? Can you show me a screenshot of what it looks like when you are seeing the collision failure in PIE? If it seems like I am doing anything differently, please let me know.

splinecp.jpg (91.7 kB)
hitcollision.jpg (76.6 kB)
more ▼

answered Aug 14 '14 at 08:57 PM

(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