RuntimeSprings.

GetTailLocalPosition(Transform) Method

Summary

Returns the local position of the `transform`'s first child.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion
Containing Type
RuntimeSprings

Syntax

public static Vector3 GetTailLocalPosition(Transform transform)

Remarks

If it has no child, it uses the FlexiMotion.RuntimeSprings.DefaultTailLength in the same direction as the `transform` from its parent.

Parameters

Name Type Description
transform Transform

Return Value

Type Description
Vector3