EntityApplyForce Method RAGE Plugin Hook Documentation

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

Applies force to this instance.

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

public void ApplyForce(
	Vector3 force,
	Vector3 offset,
	bool isForceRelative,
	bool isOffsetRelative
)

Parameters

force
Type: RageVector3
The direction and magnitude of the force to apply.
offset
Type: RageVector3
The offset to apply the force at.
isForceRelative
Type: SystemBoolean
If set to true, the force will be applied relative to the entity; otherwise, it'll be applied relative to the world.
isOffsetRelative
Type: SystemBoolean
If set to true, the offset is relative to the entity; otherwise, the offset is a world position.
See Also

Reference