Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Batching raycasts

Discussion in 'Physics' started by SunnySunshine, Jan 13, 2015.

  1. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    994
    cl9-2 and elias_t like this.
  2. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    994
  3. elias_t

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,368
    Yes. I am upvoting this one.

    There are many scenarios where you shoot many rays at once. So it would provide a good speed up!
     
    SunnySunshine likes this.
  4. SunnySunshine

    SunnySunshine

    Joined:
    May 18, 2009
    Posts:
    994
    Thanks man.

    Hopefully it shouldn't be too hard or time-consuming to implement. The functionality is already there, it's basically just about wrapping and interfacing it to C#... As Unity is working on implementing a newer PhysX version, it would be a good time to incorporate features such as this one.