Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Batching raycasts

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

  1. SunnySunshine

    SunnySunshine

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

    SunnySunshine

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

    elias_t

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