_GET_ENTITY_COLLISION_INTENSITY
Returns the intensity of the collision between entity1 and entity2.
Signature
float _GET_ENTITY_COLLISION_INTENSITY(Entity entity1, Entity entity2); // 0xDFC2B226D56D85F6 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity1 | Entity |
| 2 | entity2 | Entity |
Facts
| Name | _GET_ENTITY_COLLISION_INTENSITY |
|---|---|
| Hash | 0xDFC2B226D56D85F6 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xDFC2B226D56D85F6, -- _GET_ENTITY_COLLISION_INTENSITY
PlayerPedId(), -- Entity entity1
PlayerPedId(), -- Entity entity2
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0xDFC2B226D56D85F6", // _GET_ENTITY_COLLISION_INTENSITY
PlayerPedId(), // Entity entity1
PlayerPedId(), // Entity entity2
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xDFC2B226D56D85F6, // _GET_ENTITY_COLLISION_INTENSITY
API.PlayerPedId(), // Entity entity1
API.PlayerPedId() // Entity entity2
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.