Reputation: 452
I'm currently learning Unity and I want to import a 3D model to my scene (.FBX)
I use mesh collider for detecting collision, but the collider's position is not the same as my 3D object. The mesh's position is above the object and I can't move it....
Upvotes: 1
Views: 11748
Reputation: 13146
On imported objects you have two tranforms, one for the game object and the other for the mesh. The mesh's transform is relative to its parent game object and thus should be (0, 0, 0) in most cases:
Mesh colliders are pretty CPU expensive and should be used for simple static objects only. If you have a more complex model, you should consider using a simpler collider.
Upvotes: 0