# Collision - Component Hierarchy?

**URL:** <https://forums.unrealengine.com/t/collision-component-hierarchy/744284>\
**Category:** Character & Animation\
**Tags:** UE-5, blocking, unreal-engine, Physics, Collision, skeletalmesh, question\
**Created:** [January 7, 2023, 5:07pm UTC](https://forums.unrealengine.com/t/collision-component-hierarchy/744284 "2023-01-07T17:07:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fairchild](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fairchild](https://forums.unrealengine.com/u/Fairchild)\
**Post date:** [January 7, 2023, 5:07pm UTC](https://forums.unrealengine.com/t/collision-component-hierarchy/744284/1 "2023-01-07T17:07:05Z")

</div>

I am having a hard time understanding collision. Does Component Hierarchy play into collision settings? The Skeletal Mesh Collision settings seem to make no difference, but the parent Capsule Component does when it comes to falling through the floor.

Character Examples

> **Falls Through Map**  
> Capsule Component = No Collision  
> Skeletal Mesh = Block All

> **Does NOT Fall Through Map**  
> Capsule Component = Block All  
> Skeletal Mesh = No Collision

I would think even if the capsule component has no collision, that the skeletal mesh would still “block” the floor or any other appropriate objects.

Secondly, when two characters with skeletal mesh’s set to block all get close, they seem to still “push” each other, but they will still overlap a little.

> ![afw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/6/ee611b85ad609303060d8a91e0b1323734566137.jpeg)
> 
> In the above picture, my characters heads overlap but their mesh’s will start to push each other only when their torso/body overlaps. I checked, this is not their collider capsule’s overlapping. I set those to a very small radius.

I’m trying to get it so when they play a punch animation, their arms will get blocked by the other character’s mesh and not clip through it.

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [January 8, 2023, 12:12am UTC](https://forums.unrealengine.com/t/collision-component-hierarchy/744284/2 "2023-01-08T00:12:43Z")

</div>

Hey there @Fairchild! So first things first let’s clear up how collisions work, and then I’ll explain what you can use to make your SKM have _some_ collision.

Generally, collisions are handled by the root object, in characters this is the capsule. Every child object under that will not contribute to movement check collisions, but will still be able to trigger overlaps. Everything under it inherits the root’s data. Character components work on the principal that the capsule IS the character, and everything under it is visual. This makes it very easy to spin a character up and get it moving within minutes.

SKMs can actually have collision, but I promise you don’t want to poll every vertex on any SKM every frame indefinitely. So how do we get around this? Physics assets! Basically you can have a really simplified set of collisions for your SKM that you can use for reactions, ragdolls, or locational damage. First you’ll need to read up on PHaTs and how they are generated and used, then you’ll need to look into physical animation blending so your arms aren’t able to go into walls. The content examples project has some excellent examples to go over if you’d like to see it in action in a project before starting this endeavor. If not, here’s some documentation and tutorials to help you get started!

**Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.**

Documentation: Creating physics assets:

> **[Creating a New Physics Body in the Physics Asset Editor](https://docs.unrealengine.com/5.1/en-US/creating-a-new-physics-body-in-unreal-engine-by-using-the-physics-asset-editor/)**
>
> This how-to covers the procedures for creating new Physics Bodies in a Physics Asset using the Physics Asset Tool.

Documentation: Physics Based Animation:

> **[Physics-Based Animation](https://docs.unrealengine.com/5.1/en-US/physics-driven-animation-in-unreal-engine/)**
>
> You can blend the results of physics-based animations to ragdoll your characters.

Tutorial on the basics:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/1/3/b13c85db09fa098e5756b3bcb18b32c9beac9cc6.jpeg "Physical Animation / Rag doll TUTORIAL in Unreal Engine 4 latest version") ](https://www.youtube.com/watch?v=_Xnx9L6DgfE)

Longer tutorial:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/3/d636cddae1d3c9683aff87d877330522683ff778.jpeg "Physical Animation: The Ultimate Starter Guide [UE4/UE5]") ](https://www.youtube.com/watch?v=46NfgXlnCzM)

In his video he makes the whole body partially physically simulated, but in your case if you want it to be just the arm you’d have to designate that at the shoulder’s root.
