Jump to content
View in the app

A better way to browse. Learn more.

RDR2Mods.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pauloduffeck

Members
  • Joined

  • Last visited

Everything posted by pauloduffeck

  1. Vector3 GET_COORDS_PLAYER_IS_FREE_AIMING_AT() { Ped player_ped = PLAYER::PLAYER_PED_ID(); Vector3 camPos = CAM::GET_GAMEPLAY_CAM_COORD(); Vector3 camRot = CAM::GET_GAMEPLAY_CAM_ROT(2); Vector3 dir = RotationToDirection(camRot); // Raycast distance float dist = 1000.0f; Vector3 end = { camPos.x + dir.x * dist, camPos.y + dir.y * dist, camPos.z + dir.z * dist }; int handle = SHAPETEST::START_EXPENSIVE_SYNCHRONOUS_SHAPE_TEST_LOS_PROBE(camPos.x, camPos.y, camPos.z, end.x, end.y, end.z, 1, player_ped, 7 ); //result BOOL hit = false; Vector3 hitCoords = Vector3(); Vector3 surfaceNormal = Vector3(); Ped entityHit = NULL; SHAPETEST::GET_SHAPE_TEST_RESULT(handle, &hit, &hitCoords, &surfaceNormal, &entityHit); //If don't get anything right, return the max coord return hit ? hitCoords : end; } The START_EXPENSIVE_SYNCHRONOUS_SHAPE_TEST_LOS_PROBE is detecting only collisions with the world. It is not decting collisions with entities. Can someone help me?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.