there was a bug in how the length of the ray was scaled for high-FPS that could cause the grenade to explode closer to the launcher that it should be.
the ray test was modified to extend the ray by sqrt(2)*grenadeRadius. This allows the ray test to pass for grenades that are "kissing" an object right at the end of a frame. For higher frame rates this occurs more often so this fix makes it so that all frame rates behave the same and don't have this "kissing" issue.
This fixes 2 basic things:
there was a bug in how the length of the ray was scaled for high-FPS that could cause the grenade to explode closer to the launcher that it should be.
the ray test was modified to extend the ray by sqrt(2)*grenadeRadius. This allows the ray test to pass for grenades that are "kissing" an object right at the end of a frame. For higher frame rates this occurs more often so this fix makes it so that all frame rates behave the same and don't have this "kissing" issue.