Tile - YVector3 - Get Look Rotation – Ylands
Jump to navigation
Jump to search
m (YlandsClassyBot moved page Ylands Tile - Vector3 look at rotation to Ylands:Tile - YVector3 - Get Look Rotation: New Structure) |
No edit summary |
||
Line 1: | Line 1: | ||
<!--- | |||
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | |||
--> | |||
== Get Look Rotation(From, To) == | |||
[[File:YlandsTile-535.png]] | |||
<pre>static getLookRotation(from: YVector3, to: YVector3): YVector3;</pre> | |||
=== Parameters === | |||
==== from ==== | |||
==== to ==== | |||
=== Returns === | |||
'''YVector3''' | |||
=== Description === | |||
Returns the '''rotation vector''' that points '''from''' the first entity '''to''' the second one. | |||
Line 6: | Line 26: | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}} | ||
[[Category: | [[Category: Instructions]] | ||
Revision as of 09:53, 8 July 2021
Get Look Rotation(From, To)
static getLookRotation(from: YVector3, to: YVector3): YVector3;
Parameters
from
to
Returns
YVector3
Description
Returns the rotation vector that points from the first entity to the second one.