Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualMedo3337

Posted 06 January 2013 - 06:50 PM

Hi guys,

 

I'm using Bullet Raytest to get all hits in AllHitsRayResultCallback.

 

How do I sort the results (from the closest hit to the farthest) so If the ray hit a wall first before a vehicle, the wall should be sorted first instead of random sorting?


#1Medo3337

Posted 06 January 2013 - 03:44 PM

Hi guys,

 

I'm using Bullet Raytest to get all hits in AllHitsRayResultCallback.

 

How do I sort the results (from the closest hit to the farther) so If the ray hit a wall first before a vehicle, the wall should be sorted first instead of random sorting?


PARTNERS