EntityAttachTo Method RAGE Plugin Hook Documentation

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

Attaches Entity to another Entity.

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

public void AttachTo(
	Entity entity,
	int boneIndex,
	Vector3 offset,
	Rotator rotation
)

Parameters

entity
Type: RageEntity
The Entity to attach this Entity to.
boneIndex
Type: SystemInt32
The index of the bone on the target Entity to attach this Entity to.
offset
Type: RageVector3
The offset in local space.
rotation
Type: RageRotator
The rotational offset in local space.
See Also

Reference