#3D Model imported from blender problems

1 messages · Page 1 of 1 (latest)

mystic marten
#

as you can see for some reason the mesh is squashed, which causes problems when trying to add a mesh collider to my player
does anyone know what causes this and how i could fix it?

#

message is above the images^

stoic python
#

Your scales are messed up, as the first screenshot shows, the scale is (0.5, 1.4, 0.5)

#

Also what do you mean you are trying to add mesh collider?
That doesn't really work with skinned meshes

#

You should add primitive colliders to your bones instead. With this character I'd obviously go with box colliders

#

@mystic marten do you have blender?

mystic marten
#

i made the model

mystic marten
#

didnt know you could do that lol

#

thanks

stoic python
#
  1. Go to object mode and select the mesh in blender
  2. Ctrl + A, select "Scale" to apply scale.
#

You might need to do this for your bones and armature too. Just make sure it's all 1,1,1

mystic marten
#

alright lemme try that

#

ohhh

#

yhh the scale on the object is .5 .5 1.4

stoic python
#

Also, looking at your skinned renderer's bounds, it is really tiny: 0.0001 width

#

Might wanna look at the scale settings in your Unity mesh importer with the mesh file selected

#

Or apply the transform in the export options of blender

mystic marten
stoic python
mystic marten
mystic marten
stoic python
#

Also oops I mean extents not the center, but still your character is 0.02 units wide. Might wanna make it 100x in the import or export settings

mystic marten
#

whats it meant to be

mystic marten
#

yeah i think i got the scale of it as 100 100 100

stoic python
#

Is it an FBX file?

mystic marten
mystic marten
stoic python
#

Select the FBX file and look at Unity inspector

#

And screenshot me that

mystic marten
#

mhm

#

ok

stoic python
#

go to Model

#

Tab

mystic marten
#

yhyh

stoic python
#

Yeah so play with the Scale factor, might wanna set it to 100 (or 0.01?). Or untick the Convert Units

mystic marten
#

btw do you know what this means?:

i got it a week ago while doing smt to my fbx, not sure how to recreate it, and i cant find anything online
i asked in #💻┃code-beginner at the time too but didnt end up getting an answer

stoic python
mystic marten
#

so ill reimport my fbx from blender but this time with the scale and transform applied

mystic marten
stoic python
#

Then I can't help more than the error text does

mystic marten
#

well i dont think i am at least 🤔

mystic marten
#

np

stoic python
stoic python
mystic marten
#

yeah since i need to add more animations anyway etc

#

thanks

mystic marten
#

one thing tho that you said earlier

#

you said something about these values

stoic python
#

It looks fine now

mystic marten
#

alright cool

mystic marten
#

ohh

#

do you mind if i ask a few questions here or should i close this thread and ask in #💻┃unity-talk ?