1264 {
1266 vector from = FreeDebugCamera.GetInstance().GetPosition();
1267 vector to = from + ( dir * 10000 );
1268 vector contact_pos;
1269 vector contact_dir;
1270 int contact_component;
1271
1272 if ( DayZPhysics.RaycastRV(from, to, contact_pos, contact_dir, contact_component) )
1273 {
1274 return contact_pos;
1275 }
1276
1277 return "0 0 0";
1278 }
proto native vector GetPointerDirection()
Returns the direction where the mouse points, from the camera view.
proto native CGame GetGame()