Native referenceFiveM

START_SHAPE_TEST_CAPSULE

0x28579D1B8F8AAC80 SHAPETEST
FUNCTION SIGNATURE
int START_SHAPE_TEST_CAPSULE(float x1, float y1, float z1, float x2, float y2, float z2, float radius, int flags, Entity entity, int p9);
Property Value
Native Name START_SHAPE_TEST_CAPSULE
Hash 0x28579D1B8F8AAC80
Return Type int
Parameters x1 (float), y1 (float), z1 (float), x2 (float), y2 (float), z2 (float), radius (float), flags (int), entity (Entity), p9 (int)

Description: Raycast from point to point, where the ray has a radius.

Parameters

  • x1 (float) — Starting X coordinate.
  • y1 (float) — Starting Y coordinate.
  • z1 (float) — Starting Z coordinate.
  • x2 (float) — Ending X coordinate.
  • y2 (float) — Ending Y coordinate.
  • z2 (float) — Ending Z coordinate.
  • radius (float)
  • flags (int) — See START_SHAPE_TEST_LOS_PROBE
  • entity (Entity) — Entity to ignore, or 0.
  • p9 (int) — A bit mask with bits 1, 2, 4, or 7 relating to collider types. 4 and 7 are usually used.
Back to SHAPETEST