Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

712
Visualizações
How to create a hole on a ground in Unity?

I am trying to make a game like Color Hole. I've created a ground and a 3d cylinder. I want this cylinder act like a hole instead of a solid cylinder. Is there any opinion how can I do this without using Blender or etc?

enter image description here

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

If you attach a script to the "hole" object, you could detect other objects entering in OnColliderEnter(). Then, using the OnColliderStay() method, you could move them downwards "through" the hole, then destroy them (or whatever you want to happen when they pass through the hole).

It's kind of a hacky solution, but it would work if you're unable make a custom asset. It's not going to give you physics engine interaction though, so making the object tumble realistically through the hole will be more effort than it's worth.

over 4 years ago · Santiago Trujillo Relatório

0

For modeling and mesh prototyping within unity there are very cool assets, such as this, or this. The most affordable of the solutions of course is to import the model you want as wanted from your modeling program.

It would expected to be possible with pro-builder (modeling tool integrated in unity). However its not.

Window->PackageManager->Probuilder Then you need to enable the experimental features: Edit->Preferences->ProBuilder

enter image description here

Then there is a tool that its supposed to make union, instersection and substraction of meshes:

enter image description here

However it does not work and at least for what I tried, I obtain this error always:

StackOverflowException: The requested operation caused a stack overflow. UnityEngine.ProBuilder.Csg.Plane.SplitPolygon

(Unity version 2018.4.12). Maybe it can be checked if there is an issue with the unity version and if the pro-builder approach migh work in others.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda