Share

Matrix2d.SetToRotateTo Method

Parent Object: Matrix2d

Description

Sets to the matrix2d of rotation that would align the 'from' vector2d with the 'to' vector2d.

Syntax

Matrix2d.SetToRotateTo( From As Vector2d, To As Vector2d )

Parameters

Name Type Description
From Vector2d Input Vector object to align from.
To Vector2d Input Vector object to align to.

Version

Introduced in version 11

Was this information helpful?