Search Unity

Batching raycasts

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

  1. SunnySunshine

    SunnySunshine

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

    SunnySunshine

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

    elias_t

    Joined:
    Sep 17, 2010
    Posts:
    1,367
    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:
    976
    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.