From 931fb4dc11509357297bcdcc6a8d6b11638ff585 Mon Sep 17 00:00:00 2001 From: Silc Renew Date: Fri, 26 Aug 2022 11:42:00 +0900 Subject: Add linear/cubic angle interpolation to Animation interpolation type --- doc/classes/@GlobalScope.xml | 26 ++++++++++++++++++++++++++ doc/classes/Animation.xml | 8 ++++++++ 2 files changed, 34 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index 59d6f878a9..71579d5173 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -260,6 +260,32 @@ Cubic interpolates between two values by the factor defined in [param weight] with pre and post values. + + + + + + + + + Cubic interpolates between two rotation values with shortest path by the factor defined in [param weight] with pre and post values. See also [method lerp_angle]. + + + + + + + + + + + + + + Cubic interpolates between two rotation values with shortest path by the factor defined in [param weight] with pre and post values. See also [method lerp_angle]. + It can perform smoother interpolation than [code]cubic_interpolate()[/code] by the time values. + + diff --git a/doc/classes/Animation.xml b/doc/classes/Animation.xml index 8b97fda4d3..df0fb11ac7 100644 --- a/doc/classes/Animation.xml +++ b/doc/classes/Animation.xml @@ -600,6 +600,14 @@ Cubic interpolation. + + Linear interpolation with shortest path rotation. + [b]Note:[/b] The result value is always normalized and may not match the key value. + + + Cubic interpolation with shortest path rotation. + [b]Note:[/b] The result value is always normalized and may not match the key value. + Update between keyframes. -- cgit v1.2.3