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 /
avatar image
1
Question by Nerzid · Jul 31, 2015 at 06:45 PM · colliderobjectpoly

How to add collider to a Torus object

I have a ring is a torus looking object. I need a collider to make it act like ring. How can i achive that ?

EDIT:

Ring has mesh collider on it with Convex is enabled.

Here is a video for demonstration for problem. https://youtu.be/HpleUVe59I0

Stick has capsule collider if you are wondering.

Comment
Add comment · Show 4
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 DocYesh · Nov 11, 2016 at 08:00 PM 0
Share

Dear @Nerzid, Did you find a way around this issue? I am struck at the same point and unable to make any progress with $$anonymous$$esh Colliders.

avatar image Nerzid DocYesh · Nov 11, 2016 at 08:13 PM 0
Share

The cause of the problem was Blender's Torus Object. It acts weirdly, it comes with collider in the center of it.

avatar image DocYesh Nerzid · Nov 11, 2016 at 08:30 PM 0
Share

@Nerzid, Thank you. In my case, I used $$anonymous$$aya to create the Torus, and it still shows the same error. alt text

torus-not-working-unity.jpg (205.0 kB)
Show more comments

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by manirana94 · Nov 19, 2019 at 11:44 AM

Hi sorry for late but may be it helps to someone else.Have a look to this attached asset link.

https://assetstore.unity.com/packages/tools/utilities/compound-collider-generator-62611

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 Dave-Carlile · Jul 31, 2015 at 06:51 PM

If there isn't already a torus collider then you can use a Mesh Collider.

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 Jessespike · Jul 31, 2015 at 06:52 PM

A MeshCollider would probably work. As for making the torus look good, that's subjective, what do you mean by looking bad? I'm guessing you mean the hard edges due to the low number of triangles. You can try changing the smoothing angles and see how that looks. Smoothing Angle on FBXImporter-Model

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 Burgundxyz · Jul 31, 2015 at 07:30 PM

Go to Components. Add Mesh Collider.

If you have lots of toruses (torusii?), use a box collider to save on performance

And yes! There is! Download a program called Blender and torus is one of the basic first access shapes. Then simply export it to Unity

Comment
Add comment · Show 6 · 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 Nerzid · Jul 31, 2015 at 07:39 PM 0
Share

Ive created this torus in blender. And I have now low-poly torus, but I need proper collider.

avatar image Burgundxyz · Jul 31, 2015 at 07:41 PM 0
Share

Alright. Export it in.

Click it, go to Add Component

And look up $$anonymous$$esh Collider. $$anonymous$$esh Collider applies a collider to all over the surface regardless of shape so it's pretty much the best type of collider available

avatar image Nerzid · Jul 31, 2015 at 07:43 PM 0
Share

Checkout the video I've uploaded. It doesn't work somehow :/

avatar image Burgundxyz · Jul 31, 2015 at 07:49 PM 0
Share

I saw it.

$$anonymous$$y guess here is that your mesh collider is detecting something inside that torus, which may be a problem with the way the torus was made itself. Cause I am using a torus too in my game and it seems to be working just fine...

But my suggesting is to either make a cylinder yourself, then bend it into a circle yourself... or try one of these and download them:

http://www.blendswap.com/blends/view/69983

avatar image Nerzid · Jul 31, 2015 at 08:14 PM 0
Share

I've created torus myself using circle via extrude method. But still same problem occurs.

Show more comments

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

Moving colliding Object causes Player to jitter 0 Answers

Object spins out of control 1 Answer

Objects passing through each other? 1 Answer

duplicated object destroyed when original object destroyed 1 Answer

The appearance of some prefab appears somewhere else but their collider stays in the good place, that to make? 0 Answers


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