FREE TRIAL

|

☀
☾

Gesture.Positions.GetTranslationInLocalSpace

GetTranslationInLocalSpace(Transform, Vector3, Vector3)

The delta between from and to in the local space of the provided transform.

Declaration
public static Vector3 GetTranslationInLocalSpace(Transform transform, Vector3 from, Vector3 to)
Parameters
Type Name Description
Transform transform

Defines the local space.

Vector3 from

The start position in world space.

Vector3 to

The end position in world space.

Returns
Type Description
Vector3

The delta between from and to in transform local space.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC