Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

711
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!