Version: 2019.2
public Vector3 GetTranslationOffset (int index);

Parameters

indexThe index of the constraint source.

Returns

Vector3 The translation offset.

Description

Gets the rotation offset associated with a source by index.

Throws InvalidOperationException, if the list of sources is empty. Throws ArgumentOutOfRangeException, if the index is invalid.