From RAGE Multiplayer Wiki
Jump to navigation Jump to search

behaves exactly the same way as GET_SHAPE_TEST_RESULT except it has one extra parameter (_materialHash).

Quick disassembly seems to indicate that the unknown is a hash. EDIT: Seems to be the hash of the hit material or surface type.

found a materialFX.dat list of them but not sure if it has to do with this native yet.

Syntax, hit, endCoords, surfaceNormal, _materialHash, entityHit);

Required Arguments

  • rayHandle: int
  • hit: BOOL
  • endCoords: Vector3
  • surfaceNormal: Vector3
  • _materialHash: Hash
  • entityHit: Entity handle or object

Return value

  • object: hit, endCoords, surfaceNormal, _materialHash, entityHit


// todo

See also

Template:Worldprobe s function c