Tile - YVector3 - Lerp Rotation – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
Line 40: | Line 40: | ||
---- | ---- | ||
{{Navbox/Ylands}} | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] |
Latest revision as of 14:35, 24 November 2023
Lerp Rotation(A, B, T)
static lerpRotation(rotationA: YVector3, rotationB: YVector3, t: number): YVector3;
Parameters
rotationA
Rotation A
rotationB
Rotation B
t
Interpolant (0-1)
Returns
YVector3
Availability
Client, Server, Custom Controller
Description
Linear interpolation between two rotation vectors by the interpolant.
Notes
- Linear interpolation is less precise than spherical interpolation, but more performance effective.