Search Unity

Can we get Raycast/BoxCast/CircleCast/CapsuleCastCommand in Physics2D for jobs?

Discussion in 'Entity Component System' started by quitebuttery, Jun 6, 2020.

  1. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    329
    The big bottleneck in my game is the fact that I can't do 2D raycasts in a job. The 3D physics system has support for this with RaycastCommand etc. that let's you job out the raycast and check the results later. I *really* need this supported in Physics2D. Is this planned at all?
     
  2. Cynicat

    Cynicat

    Joined:
    Jun 12, 2013
    Posts:
    290
    This is the Dots forum, this should be on the normal physics forum.
     
  3. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    329
    I wasn't sure where to put it since isn't Jobs part of the DOTS platform? I'll find a better place.
     
  4. Cynicat

    Cynicat

    Joined:
    Jun 12, 2013
    Posts:
    290
    Good point, but most of the box2D team hangs out on the Physics forum i think =3