EntityGetPositionOffset Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Gets the offset to the specified world position, relative to this Entity.

This is essentially the opposite of GetOffsetPosition(Vector3)

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public Vector3 GetPositionOffset(
	Vector3 position
)

Parameters

position
Type: RageVector3
The world position to get the relative offset to.

Return Value

Type: Vector3
A Vector3 representing the relative offset to the world position, where X is right, Y is forward, and Z is up.
See Also

Reference