How do I fix the collisions of my barricade type item?

Hello, I’m new to this topic of creating mods for unturned. I’m trying to do things but at this moment I have an error that I don’t understand.

I created a model in Blender, exported it normally, selected the object, and when I passed it to Unity, everything looked normal, but when I looked at it in the game, it came out with an invisible box around it. I clarify that I already checked the boxcollider and configured it to the size of the attached object. config for those objects I thought it was the model and I brought a game model to test if it was but I still have the problema

this is what it looks like in the game

The bed on the right is the one I think and the one on the left is the one in the game. If you notice in the blow, one is flying and the other is not.

I have changed the model several times and created several sizes in blender but they all remain with the same invisible cube and the .dat would believe that it is not because it feels like the same one as the bed changing the id and the GUID but it does not work, I am serious Your comments are very helpful, thank you

Could you show your collider property?
Barricade.Prefab (Right hand) seems okay

2 Likes

Look, sorry it didn’t let me upload more images to the post, the strange thing is that I adjust it to the item but it still comes out a square

1 : your unity version?
2 : click the model,unity will show its collider
The picture you replied does not show the collider, I don’t know if the collider is too big or not displayed

The version I am using is 2022.3.41f1

collider is okay.
try 2021.3.29 f1c1


Getting Started — Unturned 3.x documentation (smartlydressedgames.com)

2 Likes

Thanks friend, it was actually the Unity versión

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.