_GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS
Writes the world-space minimum and maximum corners of the entity's bounding box to the output pointers.
Signature
void _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS(Entity entity, Vector3* minimum, Vector3* maximum); // 0xF3FDA9A617A15145 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | minimum | Vector3* (out pointer) |
| 3 | maximum | Vector3* (out pointer) |
Facts
| Name | _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS |
|---|---|
| Hash | 0xF3FDA9A617A15145 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local minimum, maximum = Citizen.InvokeNative(0xF3FDA9A617A15145, -- _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS
PlayerPedId(), -- Entity entity
Citizen.PointerValueVector(), -- Vector3* minimum
Citizen.PointerValueVector() -- Vector3* maximum
)
print(minimum, maximum)const [minimum, maximum] = Citizen.invokeNative("0xF3FDA9A617A15145", // _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS
PlayerPedId(), // Entity entity
Citizen.pointerValueVector(), // Vector3* minimum
Citizen.pointerValueVector() // Vector3* maximum
);
console.log(minimum, maximum)var minimumArg = new OutputArgument();
var maximumArg = new OutputArgument();
Function.Call((Hash)0xF3FDA9A617A15145, // _GET_ENTITY_WORLD_POSITION_OF_DIMENSIONS
API.PlayerPedId(), // Entity entity
minimumArg, // Vector3* minimum
maximumArg // Vector3* maximum
);
Vector3 minimum = minimumArg.GetResult<Vector3>();
Vector3 maximum = maximumArg.GetResult<Vector3>();Related ENTITY natives
- GET_WORLD_POSITION_OF_ENTITY_BONE
- _GET_HEADING_OF_ENTITY_BONE
- _GET_LAST_ENTITY_TO_DAMAGE_ENTITY
- _GET_ENTITY_ALBEDO
- _GET_ENTITY_ANIM_CURRENT_TIME
- _GET_ENTITY_BY_DOORHASH
- _GET_ENTITY_CAN_BE_DAMAGED
- _GET_ENTITY_CARRY_CONFIG
- _GET_ENTITY_CARRYING_FLAG
- _GET_ENTITY_COLLISION_INTENSITY
- _GET_ENTITY_FORWARD_VECTOR_YX
- _GET_ENTITY_HEALTH_FLOAT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.