Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by Jadiker · Feb 08, 2016 at 11:07 AM · ground

How to make circular ground

Instead of having a rectangular plane as my ground, I'd like to make a circle (or a cylinder). Unfortunately, the collider on the cylinder doesn't seem to work for this. How can I make a piece of circular ground?

(Kinda similar to this question)

Comment
Add comment · Show 2
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 Teravisor · Feb 08, 2016 at 12:55 PM 0
Share

Are you using 2D physics or 3D?

If 3D then what exactly doesn't work with cylinder? Is it large enough to collide? (if you're trying to use it as completely flat surface I suggest creating meshcollider with circle-like shape)

If 2D then you should use circle collider ins$$anonymous$$d.

avatar image Cherno · Feb 08, 2016 at 04:47 PM 0
Share

Create your mesh by script, of create a circular mesh in your 3D modeling application and import it into Unity.

2 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Owen-Reynolds · Feb 08, 2016 at 05:41 PM

Unity doesn't come with a flat circle-top 3D collider. Here are the details:

If you look at Component->Physics, you'll see Box, Sphere, Capsule, Mesh (and others.) A capsule is a cylinder with a rounded top and bottom. It turns out those first three are easy to make using only math. There's no fast easy math way to make a flat-top cylinder collider.

A Mesh collider is any shape that you make yourself, import, and then use for a collider. You have to use them for a triangle, 3D circle ... . Lots of places to read about them.

So, the answer is that the built-in cylinder starts with the capsule collider, since that's the closest one to it's shape. If that's not good enough, just remove it and add whatever collider(s) you like.

Comment
Add comment · Show 1 · 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 Jadiker · Feb 28, 2016 at 10:59 PM 0
Share

So basically, I'll have to make it in some other program and import it?

avatar image
0

Answer by UweR7 · Feb 15, 2019 at 08:25 PM

no, take a sphere, set scale y to 0.01 and replace the standard collider with a mesh collider. done.

Comment
Add comment · Show 1 · 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

8 People are following this question.

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

Related Questions

Roll a ball - Ball colliding between ground colliders 0 Answers

How can ı add a timer to my groundcheck 0 Answers

How do I deactivate collision except the ground 0 Answers

How to deal with grounded check after jump initiated? 3 Answers

Rotation noob help please!!! 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