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"

Enable collision per Axis

Hi !

Still working on our car, we have a little problem concerning collisions for the wheels. The thing is we need to use sphere collisions on our wheels, otherwise the car is not stable (Convex collisions for example). Therefor, the body of the car never enter in collisions with walls, because the wheels touch it before the body.

I have two questions :

  • Is it possible to enable per Axis colisions, because I need them only on Z


  • Is there a way to get a cylindrical collision with Skeletal Mesh or Static Mesh (I can change my wheel type to static of needed).

I have already tried the Copy Collisions from static mesh, but it gives a convex results, therefore making the car unstable.

Thanks for anyone willing and able to help me out !

Product Version: UE 4.21
more ▼

asked Mar 29 '19 at 09:37 AM in Blueprint Scripting

avatar image

62 2 4 5

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

1 answer: sort voted first

You can mess around with the collision filtering of the various objects of your vehicle. For examble, change the ObjectType of the walls to WorldStatic (or other not used by the ground) and set the response on your wheels to Ignore WorldStatic. For more detailed information have a look at this doc.

more ▼

answered Mar 29 '19 at 02:16 PM

avatar image

503 2 9 7

avatar image tbeaugelin Mar 29 '19 at 02:26 PM

Yup... I think I will go with this solution then. It's sad to not have proper cylinder based collision, even tho I read that it is performance heavy, and not as easy as it seems with PhysX, but still, would be much more simple for vehicle !

avatar image duderseb Mar 29 '19 at 02:34 PM

You can have cylindrical collision by importing your own UCX with your wheel meshes but yes, it won't be perfect unless you give it a lot of sides, in which case it won't be as performant... You can also try a Capsule collision but the overall problem you will have with non-spherical colliders is that you will need way more torque to compensate for the increased surface area that's making contact with the ground. Please mark the response as answer if it helped ya ;)

avatar image tbeaugelin Mar 29 '19 at 02:45 PM

Yeah, already tried the custom UCX, but even with a highly divided cylinder, it does not work well (car get bumpy at 70KM/H & more). Capsule aren't the answer either, because scaled to 0, they give a sphere, and scaled negativly, they give a sort of cylinder, but this is glitched as hell... Filtering it will be then ! Created a custom channel, so the wheels only collide with this one.

(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