Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by Tom212 · Aug 11, 2015 at 12:37 PM · shapes

Can I use subtractive shapes?

Hi I'm pretty new to unity and I'm trying to make a circular hole in a stock 3D cube that I've stretched into a rectangle. The idea is to make a hole that passes through it so that a sphere could drop through.

I was thinking if I could somehow use the 3D cylinder shape to subtract from the mesh renderer and collider of the cube it would work that way. By this I mean placing the cylinder inside the cube so that it creates a circular space through it from top to bottom, allowing my rigid body cylinder to pass through the cube.

Sorry if I've posed this in a poor way, if I have please tell me and I'll try explain it further best I can.

Thanks in advance for any assistance.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image WarmBiscuit · May 16, 2017 at 05:11 PM 0
Share

I've been wondering the same thing and haven't found a way. However I know for a fact that Unreal Engine has subtractive objects so you can make holes in things. It's how I made the doorways in the houses I made. I want to do the same thing in Unity but I can't seem to figure it out.

4 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by tanoshimi · Aug 11, 2015 at 12:50 PM

Unity is a game engine - to create the 3d assets for use in the game, you should use modelling software (Blender should let you create the shape you describe pretty trivially)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Willard720 · Aug 13, 2018 at 07:32 PM -1
Share

I'd downvote you if I could. Unreal Engine is a game engine (a better one) and you can use subtractive brushing. It allowed me to create nearly anything I wanted, incredibly trivially, and without needing a second program. It was quick and simple.

avatar image Owen-Reynolds Willard720 · Aug 14, 2018 at 03:40 PM 0
Share

But read the question. This OP didn't know that all game engines (including UnReal) expect you to import 3D models. That's why they checked it as their answer.

You can search for info on how to simulate Unreal subtractive prototyping in Unity, or ask a new Q about it (and you might get better answers if you leave out the commentary.)

avatar image
2

Answer by Sir_Starshine · Apr 23, 2016 at 10:47 AM

@Tom212 I don't think the other users here know what you were talking about, but I do. I had a similar idea around the same time, but I never found much help. Even the Instant Mask addon didn't help, as I couldn't get it to function (at the time, at least, I haven't been able to test it out again lately).

Honestly, I think your best bet would be to use a different game engine, like UE4. I know it supports subtractive meshes.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

Answer by WarmBiscuit · May 20, 2017 at 08:52 AM

I've been wondering the same thing and haven't found a way. However I know for a fact that Unreal Engine has subtractive objects so you can make holes in things. It's how I made the doorways in the houses I made. I want to do the same thing in Unity but I can't seem to figure it out.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Owen-Reynolds · Aug 11, 2015 at 07:06 PM

Subtractive colliders don't exist. There's isn't going to be any way to make 2 Unity colliders and have one "subtract" from the other. If you learn more about how colliders are different from models and how they work, you'll see why.

If you happen to have a model made with subtraction, it's just a regular model -- vets and faces like anything else -- and you can tell Unity to use it as a collider. But any of the concave parts (which is what subtraction is used for) often work funny, so it's the same problem.

Making efficient oddly-shaped colliders is somewhat of an art.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Adding 2D Shapes 2 Answers

Looking for an approach to modify 3D shapes in run time 0 Answers

Draw simple 2D shapes like circles, rectangles, paths etc... 0 Answers

Particle Effect Shape doesn't work 1 Answer

How can I do this? Any Ideas? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges