Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Circles and capsules planned for Tiny.HitBox2D module?

Discussion in 'Project Tiny' started by SINePrime, Oct 11, 2020.

  1. SINePrime

    SINePrime

    Joined:
    Jan 24, 2019
    Posts:
    54
    Hitboxes (despite their name) can be more than just rectangles. Platform fighters (eg, Super Smash Bros) use circles and capsules. Are there any plans to implement these in the module?
     
  2. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    906
    HitBox2D was in a previous incarnation of Project Tiny, and is no more.

    For 2D collision detection, 2D Entities (which is a package that provides tools to work with 2D content in Project Tiny) supports the following colliders:
    I wrote a post earlier about how you can go about creating collider-in-collider checks with this API. Have a look here.
     
    Kmsxkuse likes this.
  3. SINePrime

    SINePrime

    Joined:
    Jan 24, 2019
    Posts:
    54
    Oh, I must have not have been on the latest version when I was looking at the API. Search engines enjoy linking me to the wrong version...

    Regardless, thanks for the quick answer!
     
    Ted_Wikman likes this.