Unity Community


Page 1 of 5 123 ... LastLast
Results 1 to 20 of 95

  1. Posts
    351

    Concave Collider - Generate compound colliders with one click! [RELEASED]

    Hello everyone!

    We're pleased to anounce the release of our Concave Collider component.
    The Concave Collider is a component for Unity that enables complex and accurate collisions.
    In Unity mesh to mesh collisions only work if at least one of the meshes is convex. The Concave Collider helps overcoming this limitation by providing a way to automatically compute a set of colliders that can fit any shape; convex or not. And with just one click!

    The Concave Collider also includes 5 sample scenes with 3D models and different use case scenarios:
    • Scene 1: A spaceship comparing the standard collider vs the concave collider
    • Scene 2: An axe model comparing the standard collider vs the concave collider
    • Scene 3: Various gun models comparing the standard collider vs the concave collider
    • Scene 4: A physics scene where spheres fall into two buckets, one using the concave collider and the other one using the standard collider.
    • Scene 5: A physics scene with interconnected rings, also comparing colliders.

    Requirements:
    • Unity3D Pro 3.5 or higher and Windows or Mac. Products shipped will work on any platform.
    • Scenes have been created using Unity 3.5.5f3.


    Here's the component in action. All scenes are included in the package:



    And here are some screenshots. All content is included in the package:










    Available at the Asset Store: link
    Last edited by UGTools; 10-25-2012 at 05:38 AM. Reason: Added Mac support


  2. Posts
    351

    Updates

    Reserved for future updates

    Version 1.1 Released!

    New features:
    • Full native Mac support!
    • New default algorithm that works way faster than before. Now there are 3 algorithms available that hopefully can suit any object.
    • Dynamic prefab instancing support. Now you can make prefabs out of objects having the concave collider and instance them using the editor or at runtime through scripting.
    • A couple of new parameters for even better adjustment.
    Last edited by UGTools; 10-25-2012 at 05:42 AM. Reason: Added v1.1 update


  3. Posts
    158
    Looks like what I need.

    Does it require pro to use it? Or is that just to edit the meshes it creates?

    How well would it work things like rooms that have walls, floor, ceiling, and door?

    Thanks.


  4. Posts
    351
    It needs the pro version only to generate the hulls, because it relies on an external dll to work and plugin support is a pro-only feature. The products you ship though can run on any platform, it's just for the editor

    The Concave Collider is useful for dynamic objects. For static objects like walls, floors etc. you can rely on the standard Unity collider.
    Usually you set up the scenario (static elements) with the standard collider and the convex option unchecked, and use the concave collider on the dynamic objects that requiere precise collisions. Sometimes you can just approximate them with the built in primitive colliders (box, spheres, cylinders) but many times like the video shows you can't. This is where our Concave Collider comes in handy


  5. Location
    Sydney, Australia
    Posts
    1,894
    This looks really neat. What sort of performance impact does this have (if any)? For example, with your axe demonstration you run through several hull-levels. Would you reduce the number purely for performance concerns, or is that not the issue?


  6. Posts
    158
    Thanks. You should add the pro requirement to the page in the asset store. Somebody without pro will probably buy it, otherwise.


  7. Location
    32.71 N, 117.15 W
    Posts
    5,419
    How does performance compare to using, for example, a compound collider (group of simple cubes, spheres, etc.)?


  8. Posts
    177

    animated character

    Can this plugin help in avoiding animated characters cross walls better than other solutions? Thanks


  9. Posts
    250
    trying it out now, some input on performance please boss


  10. Posts
    351
    Quote Originally Posted by SteveJ View Post
    This looks really neat. What sort of performance impact does this have (if any)? For example, with your axe demonstration you run through several hull-levels. Would you reduce the number purely for performance concerns, or is that not the issue?
    For a single object, performance wouldn't be an issue. The axe demonstration is just to show different outputs playing with the settings.
    But if you use it on a large number of dynamic objects that will interact with each other, it is important to be able to limit the number of generated hulls and also the number of vertices. Especially on mobile platforms, physics can be the bottleneck if you use too many objects with a large number of colliders.

    Quote Originally Posted by dbryson View Post
    Thanks. You should add the pro requirement to the page in the asset store. Somebody without pro will probably buy it, otherwise.
    Yes, we noticed it shortly after sending the package. It has been updated, thanks :)

    Quote Originally Posted by bigkahuna View Post
    How does performance compare to using, for example, a compound collider (group of simple cubes, spheres, etc.)?
    It actually works internally as a compound collider, but instead of primitives we generate a compound collider using convex meshes.
    Performance-wise, primitives like cubes, spheres etc will always be faster than arbitrary convex meshes, as collisions against a primitive are internally computed using a single formula. But there are many cases where you can't approximate an object with primitive colliders unless you create a lot of them or you just sacrifice precision (and it it time consuming!).

    Quote Originally Posted by maidamedia View Post
    Can this plugin help in avoiding animated characters cross walls better than other solutions? Thanks
    No, usually characters use a simple capsule or cylinder collider for collisions against walls. In that case I'd recommend using continuous collision detection (see the "Collision Detection" parameter on the RigidBody component) and/or increasing the RigidBody's solver iteration count through scripting (see http://docs.unity3d.com/Documentatio...Rigidbody.html)


  11. Posts
    351
    Quote Originally Posted by shifty View Post
    trying it out now, some input on performance please boss
    The basic rule is, if you are creating a lot of dynamic objects with concave colliders attached, you should play with the settings to use the lowest possible number of hulls and vertices that still generate an acceptable result.
    If you instance dozens of objects with a hundred hulls each, you'll easily have performance issues. In that case maybe just limiting it to say, 5-8-16 each you may still have the same results and have no performance issues at all.


  12. Posts
    351
    Needless to say, we're open to any suggestions and feature requests. Feedback is more than welcome!


  13. Posts
    351

    Use case: Concave Collider with a spaceship object

    Here is another example of the Concave Collider with a spaceship.
    From left to right: The spaceship, the same mesh using the standard Unity3D collider and the same mesh using the Concave Collider component.





    In this case we've limited the amount of hulls to 16, enough to cope with all the pointy parts, engines and tail. It took us 10 seconds to set this up. Imagine doing this by hand! :)
    If you need accurate collision detection with the scenario, enemies and laser/missile hits, you can't just rely on a single hull. Concave Collider FTW!
    Last edited by UGTools; 10-15-2012 at 12:42 PM.


  14. Posts
    848
    Great tool!

    Any chance of Mac editor support with the native dll? Would love to not have to switch over to Windows to make some colliders. I'd be happy to test this if you'd like.


  15. Posts
    351
    Yes, if there is demand we'll definetly try to add Mac support through a native plugin. I'll keep you posted.


  16. Location
    London, UK
    Posts
    220
    mac support would be appreciated
    | www.quickfingers.net || Follow me on Twitter |

    Step-seq : A music creation toy based on ease of use and ear pleasing results!
    Stratosfear : A 7 Day Game Prototype Challenge based on themes "Rising" & "Companion"
    Surrender : Epic Sci-fi desert warfare
    SRL : My 7 day roguelike game on board an alien infested cargo space ship


  17. Posts
    351

    Concave Collider Mac support

    As soon as we get access to a Mac with a proper development environment we'll try to make it happen then :)


  18. Posts
    351
    It seems between tomorrow and the day after tomorrow we'll have a chance to compile a native mac plugin. The code is very platform independent, hopefully we can have some good news!


  19. Location
    Spain
    Posts
    837
    How do you limit the number of hulls and vertices? Are they set in the Inspector?


  20. Location
    Italy
    Posts
    648
    Great tool!
    I'll buy soon.

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •