EntityGetLastCollision Method (Vector3, Vector3)

RAGE Plugin Hook Documentation

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

Gets the last collision of this entity.

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

public bool GetLastCollision(
	out Vector3 position,
	out Vector3 normal
)

Parameters

position
Type: RageVector3
The position the collision occurred at.
normal
Type: RageVector3
The normal of the collision.

Return Value

Type: Boolean
Returns true if this entity has collided with anything; otherwise, returns false.
See Also

Reference