RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_ENTITY_COLLISION_INTENSITY

_GET_ENTITY_COLLISION_INTENSITY

Returns a float that appears to represent the collision impact intensity between two entities. Based on observed usage, this value becomes large when entity1 hits entity2 with enough force. In the example below, if the returned value is greater than 500.0f, the first entity is moving, the second entity is nearly stationary, and the second entity is not already ragdolled, then SET_PED_TO_RAGDOLL is triggered.

ENTITYBuild 1207

Signature

lua
GetEntityCollisionIntensity(entity, entiy2)
-- returns float

Parameters

NameTypeDescription
Entity—
Entity—

Usage

lua
GetEntityCollisionIntensity(entity, entiy2)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details