# Collision mesh size in editor differs from one in phat

**URL:** <https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570>\
**Category:** World Creation\
**Tags:** unreal-engine, Physics, Collision, bug-report, editor, UE4, question\
**Created:** [January 19, 2016, 1:41pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570 "2016-01-19T13:41:31Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzarafata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzarafata](https://forums.unrealengine.com/u/dzarafata)\
**Post date:** [January 19, 2016, 1:41pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/1 "2016-01-19T13:41:31Z")

</div>

I downloaded some free model and added a skeleton for it in blender. When I imported it to ue4 and made collisions in phat collisions were acting weird. I checked “Show collisions” (alt+c) in editor and it came out that collisions in editors are much smaller than those in phat (first image).

I did some tests in simulation mode hiting forlift with a chair (that sounds stupid) and it seems that collision works correctly (as shown in phat). I guess that it’s size is only displayed wrong.

 ![75084-zrzut+ekranu+2016-01-19+13.24.29.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/d/a/eda80b211f63341603a5a7b435e502f20db07e2f.jpeg)

Below You can (barely) see orange collision meshes.They are positioned in right places (on the bones) but are super small.

 ![75085-zrzut+ekranu+2016-01-19+13.24.58.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/3/d63865e8206eeeaa7c1fe49d5949866e88bf5d07.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [January 19, 2016, 3:46pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/2 "2016-01-19T15:46:58Z")

</div>

Hello dzarafata,

This isn’t something that I’ve seen previously so I’m not quite sure off the top of my head what could be causing it. Seeing as you mentioned that it was a free asset, would it be possible for you to upload the FBX (skeleton included, if possible) so that I can see if it’s the asset itself?

---

<div class="post-metadata">

**Author:** ![dzarafata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzarafata](https://forums.unrealengine.com/u/dzarafata)\
**Post date:** [January 19, 2016, 4:19pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/3 "2016-01-19T16:19:59Z")

</div>

Sure, I included blend file and FBX I’ve exported:

> **[Dropbox - Error](https://www.dropbox.com/s/bwkmuhrxbryaor0/forkliftBlednerAndFBX.rar?dl=0)**
>
> Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

I’m using ue4.10.2

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [January 19, 2016, 7:24pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/4 "2016-01-19T19:24:43Z")

</div>

Thank you for the report, dzarafata. I’ve placed a bug in for the issue related to the PHAT bodies being considerably smaller visually in the main editor viewport. For reference, the bug number is UE-25684. While messing with this, I also found another issue with the scaling of the physics bodies in the PHAT editor so I’ll be putting that in as well.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [January 20, 2016, 6:23pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/5 "2016-01-20T18:23:26Z")

</div>

I should’ve checked before entering the bug report but I’m unable to get this same behavior with any other asset that is imported into the engine. This could be an asset specific issue. I’ll be taking a look at the blend file you sent to see if I can find out more.

---

<div class="post-metadata">

**Author:** ![dzarafata](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dzarafata](https://forums.unrealengine.com/u/dzarafata)\
**Post date:** [January 20, 2016, 6:55pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/6 "2016-01-20T18:55:42Z")

</div>

I also don’t have problems with another assets. I’m using Blender 2.76 RC.  
I downloaded this model as .obj that I’ve imported to blender. Original file is here:

> **[Dropbox - Error](https://www.dropbox.com/s/hhqrrv018brixsy/ysjwscia97-REORCForklift.7z?dl=0)**
>
> Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!

Here are export settings that I’ve used with blender:

![75301-ice_screenshot_20160120-195155.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/c/fecb39b9934293fe9939e7e561408d32b8255f7b.png)

![75299-ice_screenshot_20160120-195215.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/f/38f013c1567f940f2710b81a248a983544fb7b88.png)

![75300-ice_screenshot_20160120-195225.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/0/100833b0f655d7dd11983a7840fd43741bc6f63e.png)

![75302-ice_screenshot_20160120-195245.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/6/1/061c85f957ff76376b6480753122b72233b14b61.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [January 26, 2016, 5:44pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/7 "2016-01-26T17:44:09Z")

</div>

We’ve found out that it is something to do with the settings prior to importing it, namely the scale factor between the root and the individual bones. We’re looking into fixing it correctly and I’ll get back to you soon.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [January 28, 2016, 8:35pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/8 "2016-01-28T20:35:10Z")

</div>

It seems that it would be best to rig the model again from inside of Blender. The problem was caused by the scale value difference between the Root and the individual bones on the mesh. From looking at the root and bones from inside blender, the scale for all of the bones is set to 100 while the root doesn’t have a scale due to how blender does things. When it gets exported and imported (to Maya at least) these values change around. It ends up with the root being 100 and the bones themselves being 1. This ends up with the bones being 1% of the size that they should be in comparison to the root.

When rigging the mesh again, be sure to keep the scale values at 1 across all of the bones and it should end up correct. We tried this locally and it imported into UE4 without any issues.

Hope this helps!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0ff2243](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0ff2243](https://forums.unrealengine.com/u/anonymous_user_b0ff2243)\
**Post date:** [May 15, 2017, 1:14pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/9 "2017-05-15T13:14:27Z")

</div>

Can you clarify please?  
As i understand in this particular model bone scale was an error, but what if scale is there intentionally? (In my case scale is used further down in blueprint)

1. Is the difference in collision between phat viewport and level editor expected behavior? In phat viewport i see correctly scaled collisions depending on corresponding bone scale, but if skeletal mesh placed in level all collisions are uniformly scaled.
2. If not is there a associated bug report to follow the progress of fixing this?

edit: just to clarify, problem i’m having is not with display of collision mesh, is that collision on scaled bone is behaving(and looks also) like there was no scale applied. I’ve looked at UE-25684 and it is about display only as i understand.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_41845f4a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_41845f4a](https://forums.unrealengine.com/u/anonymous_user_41845f4a)\
**Post date:** [May 18, 2017, 4:05pm UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/10 "2017-05-18T16:05:03Z")

</div>

Due to how old this post is, I would suggest making your own bug report for this if you believe that the exporting/importing from Maya, 3DSMax or Blender, whichever program you’re using, is not working correctly with scale. It seems like your issue is similar but not exactly the same thing.

---

<div class="post-metadata">

**Author:** ![DaveBerg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveBerg](https://forums.unrealengine.com/u/DaveBerg)\
**Post date:** [September 21, 2021, 10:32am UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/11 "2021-09-21T10:32:08Z")

</div>

I know this is an old thread but just ran into this and found a solution that does not require re-rigging (in 3ds max).

1. Set timeline position to the first keyframe (or to whatever keyframe the mesh is at base pose)
2. Choose the skinned mesh and in Utilities → skin utilities-\> Extract skin data to mesh
3. Collapse skin modifier in modify tab
4. Choose all bones (or dymmies in my case) and in utilities-\> reset xform → reset selected
5. Collapse xform modifiers in all bones or dummies
6. Apply skin modifier to the mesh → add all bones or dummies
7. Choose both mesh and Skindata\_mesh
8. in utilities → skin utilities → import skin data from mesh
9. Delete SkinData mesh
10. Export

Cheers

---

<div class="post-metadata">

**Author:** ![DaveBerg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DaveBerg](https://forums.unrealengine.com/u/DaveBerg)\
**Post date:** [September 21, 2021, 10:32am UTC](https://forums.unrealengine.com/t/collision-mesh-size-in-editor-differs-from-one-in-phat/344570/12 "2021-09-21T10:32:25Z")

</div>

I know this is an old thread but just ran into this and found a solution that does not require re-rigging (in 3ds max).

1. Set timeline position to the first keyframe (or to whatever keyframe the mesh is at base pose)

2. Choose the skinned mesh and in Utilities → skin utilities-\> Extract skin data to mesh

3. Collapse skin modifier in modify tab

4a) Choose all bones (or dummies in my case) and in utilities-\> reset xform → reset selected  
—This sometimes work when there’s no edits in pivot point rotations…

4b) Or right click the scale tool and set all local scales to 100  
—This is the more secure way…

1. Collapse xform modifiers in all bones or dummies

2. Apply skin modifier to the mesh → add all bones or dummies (if you used the reset xform)

3. Choose both mesh and Skindata\_mesh

4. in utilities → skin utilities → import skin data from mesh → match by name → ok

5. Delete SkinData mesh

6. Export

Cheers
