_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 floatParameters
| Name | Type | Description |
|---|---|---|
| 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
