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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Collision visualization is missing for some objects

Hello!

I am making a race track, and I noticed some collisions seem to be a bit off. So I enabled the collision tag in the show viewport. However only some meshes do show the collision and others don't. It's the same mesh, but only scaled.

Here is a picture of it. HEYAAA

The problem with this is that I can't align the collision meshes so driving through the track is weird as sometimes you'd hit some invisible bumps where two meshes connect.

Product Version: Not Selected
Tags:
more ▼

asked Aug 11 '14 at 02:49 PM in Using UE4

avatar image

Motanum
620 58 63 306

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

1 answer: sort voted first

I'm not sure about the collision visible issue as I'll have to look into that a bit more. (You've just enabled the Show > Collision checkbox in the editor window correct?)

Something to consider that will probably make you're collision issues and ease of developing tracks much better is either using Spline Meshes with landscapes or setting up Spline Blueprints. The latter is a little more involved but can get cleaner results without a landscape.

If you would like an example or have questions about the splines feel free to ask as it would greatly improve your ability to create your tracks without having to worry about the collision issues as much.

Here is some documentation on that to take a look at:

Landscape Splines Landscape Spline Tools

Blueprint Spline (mid way down the page. There is not an official documentation page yet) You can even take a look at those in the Content Examples > Open Map > Blueprint Splines

Dokiepen has a great tutorial for using the Blueprint Spline and setting it up.

more ▼

answered Aug 12 '14 at 04:03 PM

avatar image

Tim Hobson ♦♦ STAFF
48.9k 887 101 876

avatar image Motanum Aug 12 '14 at 06:52 PM

Thanks for the response! The problem is that when I scale a mesh, the collision is no longer visible. I want to make tracks in the style of F Zero, so I am not sure yet of using landmarks, however, I will take a look at the documentation and see what can be done.

avatar image Motanum Aug 12 '14 at 07:05 PM

Okay, I have used splines to create some placeholder track from the mesh I made. However, the collision is still messed up as it doesn't follow the splines tracks.

alt text

I am wondering if it's possible to change the subdivission so that I can change how 'smooth' the collision and the track are? SEE EDIT

I also attach the asset for the track mesh. https://www.dropbox.com/s/b9x2z4cdrrljzy1/Straight2L.uasset

EDIT. I split splines to create more subdivisions.

avatar image Tim Hobson ♦♦ STAFF Aug 12 '14 at 08:23 PM

Thank you for the asset. This allowed me to track down the issue much more quickly! :)

Below are two images. I tested your asset vs one I had made earlier. When using the splines the collision is going to be from point to point on the spline. So this means that even though the mesh may curve the collision is going to respect the two points. To control collision more you'll need to use more control points, especially on corners to get a more refined look for your mesh and for the curve for the collision.

Here are the images showing the difference with fewer edges vs the extras I threw in:

alt text

alt text

I hope this helps! Splines are a very powerful tool for quickly throwing together a playable level! Using the Blueprint Spline that has no landscape tied to it may end up being the better choice for versatility but you can at least throw it together much more quickly in landscape splines! Dokipen has a really great tutorial series with the BP Spline.

Another thing as well is you can build your spline on the landscape if that is more easy for you and in the details panel for the landscape you can choose "Actor Hidden in Game" to have it not show up.

Tim

(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