• 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 Eluem · Oct 27, 2015 at 09:25 AM · 2dcollisioncollider2d game2d-physics

Unity 2D Collider Safe Sizes

Does anyone know what sizes are safe for the 2D Colliders? For example, the minimum and maximum radius of a circle collider or the min/max x/y size values of a box collider before they start to act up due to rounding errors and other "fun" floating point issues?

I wanted to have everything normalized to around 1 unit of size.. however... the default camera is set up such that to make a character fit within it, the average size of a player (in a top down game, using a circle collider) would be about .4, with sword-like weapons having box collider values like (0.096, 1.68)

I'm a bit worried that this is two small.

Any advice?

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 AlbieMorrison · Nov 04, 2020 at 07:33 PM 0
Share

I think that is probably fine, I've read that anything under 0.05 is too small. This is helpful for this problem: https://answers.unity.com/questions/954339/small-scale-2d-colliders-not-working.html

0 Replies

· Add your reply
  • Sort: 

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Creating 'redstone' like wires 1 Answer

Problem with collision with two colliders simultaneously in Unity 2D 1 Answer

Collider lets object through 0 Answers

Sprites not recognized as whole-spinning in different directions 0 Answers

2D Detect collisions of a 2D block only on left/right (not top/bottom) 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges