Tile - YVector3 - Angle – Ylands

From Bohemia Interactive Community
Revision as of 15:35, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Angle(A, B)

YlandsTile-146.png

static angle(a: YVector3, b: YVector3): number;

Parameters

a

Vector A

b

Vector B

Returns

number

Availability

Client, Server, Custom Controller

Description

Returns angle between two vectors.

Notes

  • Returned angle is the smaller of the two possibleangles between used vectors. The result is never greater than 180 degrees.