AnimancerUtilities.

TryGetAverageVelocity(Object, Vector3) Method

Summary

Outputs the UnityEngine.Motion.averageSpeed or Animancer.IMotion.AverageVelocity.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

Syntax

public static bool TryGetAverageVelocity(Object motion, out Vector3 averageVelocity)

Remarks

Returns false if the `motion` is null or an unsupported type.

Parameters

Name Type Description
motion Object
averageVelocity Vector3

Return Value

Type Description
bool