Game Development Community

[Bug 1.1Beta... Maybe] DoF rayCast not colliding with Players or Vehicles

by Marcus L · in Torque 3D Professional · 04/11/2010 (11:13 am) · 3 replies

I don't know if this is on purpose, or if it can be considered a bug, but its certainly annoying in-game when trying to hunt down players and your aim gets totally blurred.

img406.imageshack.us/img406/9533/screenshot01300005.png
<- like that yes.

Thanks

#1
04/11/2010 (11:36 am)
I have this same problem after using the zoom my screen will blur at certain angles of the camera and will stay that way until torque is totally reset.

this is with nvidia gts250 w/ 197.13 driver
also happened with previous drivers
#2
04/11/2010 (11:51 am)
@ Donald
That's another issue. The fix for your issue is to put this line of code in function toggleZoom(%val) (default.bind.cs):

function toggleZoom(%val)
{
   if (%val)
   {
      if (!$ZoomOn)
         commandToServer('getZoomReticle');
   }
   else
   {
      $ZoomOn = false;
      setFOV($Pref::Player::defaultFOV);
      reticle.setVisible(true);
      zoomReticle.setVisible(false);

      DOFPostEffect.disable(); //<- Here
   }
}
#3
04/11/2010 (1:09 pm)
sorry about that but thanks for the fix