How To Rotate Colliders In Unity

By default, you can't rotate colliders in Unity. In this tutorial, I will show you a simple way to rotate colliders In Unity.

This page contains affiliate links. If you purchase a product or a service through one of them, I will receive a small commission (at no additional cost to you). I only recommend products or services that I have personally used and benefitted from personally. Thank you for your support!

Tutorial requirements

  • Unity 5 or newer

Downloads / Resources

Watch tutorial

Tutorial steps

Let’s say that I want to add 2 Capsule Colliders to my Palm Tree GameObject like that:

But if I add 2 Capsule Colliders to my Tree GameObject, the best I can do is this:

When you add a Collider component on your GameObject, you will see that there’s NO option to Rotate the Collider any degree you want. You can ONLY Rotate it 90 degrees by y, z, x-axis, change its Position and Scale it.

So to Rotate it how you want, you need to add the Empty GameObject as a Child to your GameObject (for example a Child GameObject to my Palm Tree). To do that RIGHT CLICK on your GameObject (Palm Tree) and select Create Empty.

Now you will see that your GameObject (Palm Tree) has a Child Empty GameObject called GameObject attached to it.

Add a Capsule Collider to the Child GameObject.

Change Capsule Collider Size by changing Radius and Height. To Move or Rotate it, use Transform of the GameObject: This way, you can rotate it how you want.

I added another Empty GameObject to my Palm Tree. Here is a finished result with 2 Colliders:

Thank you for stopping by! :)

If you want to support me, you can do that by subscribing to my YouTube channel or by buying my Game Assets. This helps me to create more content for you guys! Appreciate any support :)

Share This Tutorial
Comments

Recent Posts

Be The First to Know

Join LMHPOLY newsletter and get all the news straight to your inbox: game assets, tutorials, videos, blog posts, products, product updates, and FREE stuff.

I respect your privacy.