U
U
Uncle Bogdan2021-06-15 18:27:59
Unity
Uncle Bogdan, 2021-06-15 18:27:59

Why is there no such thing as a collider inside, but it is?

Tipo shows that the collider is only on the walls, but it turns out that the whole tunnel is generally considered a collider. Like I'm trying to create a cube inside, but it pushes it out.

60c8c5306155e604730375.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spartanec33, 2021-06-16
@Spartanec33

I think you are using a mesh collider with a convex checkbox. Convex translates as convex. Mesh collider does not know how to non-convex. If you want a non-convex one, then you need a composite collider. Child empty objects with colliders are nested in the object, creating the desired shape and they behave as a single whole. This way you can get the desired result.003.jpg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question