Previous Up Next

M3angularTarget
Returns the angular positions (integers) allowing the source to point toward the destination.
The third angle always equals 0.

[I I I] M3angularTarget (
[I I I] _source_
[I I I] _destination_
)
Parameters

_source_
Vector
_destination_
Vector
Return value

Euler rotation angles