EntitySetPositionWithSnap Method

RAGE Plugin Hook Documentation

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

Sets the position of this Entity to the specified value.

Unlike Position, if the specified position is in the ground, the position will be adjusted to place the entity above it.

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

public void SetPositionWithSnap(
	Vector3 position
)

Parameters

position
Type: RageVector3
The position.
See Also

Reference