# Enable collision per Axis

**URL:** <https://forums.unrealengine.com/t/enable-collision-per-axis/446221>\
**Category:** World Creation\
**Tags:** sphere-collision, unreal-engine, Collision, Blueprint, question\
**Created:** [March 29, 2019, 9:37am UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221 "2019-03-29T09:37:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon89423513](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Post date:** [March 29, 2019, 9:37am UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/1 "2019-03-29T09:37:52Z")

</div>

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

OR

- 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 !

---

<div class="post-metadata">

**Author:** ![duderseb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/duderseb/32/558202_2.png) [@duderseb](https://forums.unrealengine.com/u/duderseb)\
**Post date:** [March 29, 2019, 2:16pm UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/2 "2019-03-29T14:16:25Z")

</div>

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](https://www.unrealengine.com/en-US/blog/collision-filtering).

---

<div class="post-metadata">

**Author:** ![anon89423513](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Post date:** [March 29, 2019, 2:26pm UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/3 "2019-03-29T14:26:09Z")

</div>

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 !

---

<div class="post-metadata">

**Author:** ![duderseb](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/duderseb/32/558202_2.png) [@duderseb](https://forums.unrealengine.com/u/duderseb)\
**Post date:** [March 29, 2019, 2:34pm UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/4 "2019-03-29T14:34:22Z")

</div>

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 😉

---

<div class="post-metadata">

**Author:** ![anon89423513](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anon89423513](https://forums.unrealengine.com/u/anon89423513)\
**Post date:** [March 29, 2019, 2:45pm UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/5 "2019-03-29T14:45:31Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JohnADaniels](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/johnadaniels/32/1080686_2.png) [@JohnADaniels](https://forums.unrealengine.com/u/JohnADaniels)\
**Post date:** [June 11, 2022, 2:47am UTC](https://forums.unrealengine.com/t/enable-collision-per-axis/446221/6 "2022-06-11T02:47:36Z")

</div>

I am having the same issue, did you ever get this figured out?
