The dimensions of collision object cannot be less than 0.1? (SOLVED)

Our artist created a new set of 3d models, but the size is smaller than the old models. The dimensions of the new model is [“width”] = 0.0324, [“height”] = 0.0404, [“depth”] = 0.0223. So I have adjust the dimension of the corresponding collision object (box shape). But it seems not working as expected until I set the dimension of the collision object to (0.1, 0.1, 0.1). Is it a bug or limitation? It is a not a good idea to recreate all models with larger size…

What happens, does the engine output any logging in this case?

However, those sizes are very small. What is the model?
Could it be that you have exported the model in centimeters? What if you try exporting it in meters? (I.e. you’ll get 3.24, 4.04, 2.23 meters instead)

1 Like

The engine does not output any log message in this case, but the raycast always missed the collision object so I cannot click the game object. I don’t know how the artist export the models, I will check with them also.
btw, the old model dimension is [“width”] = 0.303, [“height”] = 0.404, [“depth”] = 0.222, in the game scene I set scale to 50 to make the game object visible (for the new model, I set scale to 500)

Does the object show properly when you enable the “debug physics”?

The collision objects always show same size (wrong size) if the dimensions is smaller than 0.1

I asked the artist to export the models in meters, and it works now.

3 Likes