Search Unity

RaycastCommand usable with RaycastHit2D?

Discussion in 'Entity Component System' started by Doghelmer, May 7, 2018.

Thread Status:
Not open for further replies.
  1. Doghelmer

    Doghelmer

    Joined:
    Aug 30, 2014
    Posts:
    120
    A quick question: Am I missing something, or is only RaycastHit usable in conjunction with RaycastCommand, and not RaycastHit2D?
     
  2. tswierkot

    tswierkot

    Joined:
    Feb 15, 2017
    Posts:
    25
    Two diffrent physics systems - PhysX for 3D, Box2D for 2D. AFAIK there is no raycast job API for Box2D.
     
  3. GabrieleUnity

    GabrieleUnity

    Unity Technologies

    Joined:
    Sep 4, 2012
    Posts:
    116
    You are right, 2D physics is not released yet - but it will be available soon
     
  4. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    838
    @GabrieleUnity
    Is this available yet, async 2D physics in jobs? I couldnt find anything about this in the documentation. Is there any estimate which version might contain this?
     
  5. GavinoGrifoni

    GavinoGrifoni

    Joined:
    Jan 7, 2014
    Posts:
    3
    Any update on the availability of RaycastCommand in 2D? Gabriele wrote "will be available soon" more than 8 months ago.. Thanks!
     
  6. recursive

    recursive

    Joined:
    Jul 12, 2012
    Posts:
    669
    @GavinoGrifoni - At this point I fully expect them to focus on re-creating PhysX/Box2D in ECS over time, but they might have something for Box2D <-> jobs integration at GDC.
     
  7. Singtaa

    Singtaa

    Joined:
    Dec 14, 2010
    Posts:
    492
    Yes, any info on RaycastCommand for Physics2D would be nice. Been waiting for this for some time now.
     
    dannyalgorithmic likes this.
  8. KAJed

    KAJed

    Joined:
    Mar 15, 2013
    Posts:
    122
    @GabrieleUnity, No change?
     
    Last edited: Sep 18, 2019
  9. noonoox

    noonoox

    Joined:
    Nov 15, 2014
    Posts:
    21
    I'd really love for 2D RaycastCommands to be added! I'm working on a physics-heavy 2D game that I'd really appreciate using this for
     
  10. Radghiv

    Radghiv

    Joined:
    Jan 11, 2014
    Posts:
    2
    Bump. Any news on this?
     
    dannyalgorithmic likes this.
  11. ShadowLairGames

    ShadowLairGames

    Joined:
    Jan 17, 2019
    Posts:
    45
    2 years later, still nothing on this?
     
  12. RecursiveEclipse

    RecursiveEclipse

    Joined:
    Sep 6, 2018
    Posts:
    298
  13. ShadowLairGames

    ShadowLairGames

    Joined:
    Jan 17, 2019
    Posts:
    45
    That looks to be specifically made for Project Tiny, so doesn't seem like it is what we were looking for.
     
  14. davidwa

    davidwa

    Joined:
    Jun 3, 2014
    Posts:
    8
    Sooo, is there an update on this?

    Alternatively, another way to parallelize Raycast2Ds (with MonoBehaviors)?
     
  15. ShadowLairGames

    ShadowLairGames

    Joined:
    Jan 17, 2019
    Posts:
    45
    Soon(tm) it would look like =\
     
  16. aegis123321

    aegis123321

    Joined:
    Jul 5, 2015
    Posts:
    71
    2021 any plan?
     
  17. arvzg

    arvzg

    Joined:
    Jun 28, 2009
    Posts:
    619
  18. SVC-Games

    SVC-Games

    Joined:
    May 21, 2013
    Posts:
    137
    Was about to change my current physics to be "jobified". Thank god I found that and didn't waste any time :p
     
  19. dannyalgorithmic

    dannyalgorithmic

    Joined:
    Jul 22, 2018
    Posts:
    100
    It's 2023 ... any news?
     
  20. DongJL

    DongJL

    Joined:
    Jul 15, 2020
    Posts:
    3
Thread Status:
Not open for further replies.