From 55c43b5ebd8627db300f5f71914e0683b87b8ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=B0=20Oliver?= <98495978+Starveldt@users.noreply.github.com> Date: Tue, 25 Feb 2025 23:22:48 -0800 Subject: [PATCH 1/3] Update AnimationTrack.yaml --- content/en-us/reference/engine/classes/AnimationTrack.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/en-us/reference/engine/classes/AnimationTrack.yaml b/content/en-us/reference/engine/classes/AnimationTrack.yaml index 5296f0baa..74551e107 100644 --- a/content/en-us/reference/engine/classes/AnimationTrack.yaml +++ b/content/en-us/reference/engine/classes/AnimationTrack.yaml @@ -617,8 +617,11 @@ methods: of the initial weight of the animation. It is not recommended to use a fadeTime of 0 seconds to try to override - this effect and end the animation immediately as presently, this causes - the `Class.AnimationTrack` poses to freeze. + this effect and end the animation immediately for `Class.Motor6D|Motor6Ds` + that have their `Class.Motor.MaxVelocity` set to zero, as this causes + the joints to freeze in place. If it must end immediately, ensure the + `Class.Motor.MaxVelocity` of `Class.Motor6D|Motor6Ds` in your rig are + high enough for them to snap properly. code_samples: - AnimationTrack-Stop parameters: From ee0338f07e36f55a83cc0553e9b3d39f3d6cb650 Mon Sep 17 00:00:00 2001 From: IgnisRBX <43388550+IgnisRBX@users.noreply.github.com> Date: Wed, 26 Feb 2025 07:11:20 -1000 Subject: [PATCH 2/3] Update AnimationTrack.yaml --- .../engine/classes/AnimationTrack.yaml | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/content/en-us/reference/engine/classes/AnimationTrack.yaml b/content/en-us/reference/engine/classes/AnimationTrack.yaml index 74551e107..2ecb7ffce 100644 --- a/content/en-us/reference/engine/classes/AnimationTrack.yaml +++ b/content/en-us/reference/engine/classes/AnimationTrack.yaml @@ -316,7 +316,7 @@ properties: description: | AnimationTrack.WeightTarget is a read-only property that gives the current weight of the `Class.AnimationTrack`. It has a default value of 1 and is - set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:Stop()` or + set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:()` or `Class.AnimationTrack:AdjustWeight()` is called. When weight is set in an `Class.AnimationTrack` it does not change instantaneously but moves from WeightCurrent to `Class.AnimationTrack.WeightTarget`. The time it takes to @@ -601,22 +601,16 @@ methods: writeCapabilities: [] - name: AnimationTrack:Stop summary: | - Stops the `Class.AnimationTrack`. Once called playback of the - `Class.AnimationTrack` will stop and the weight of the animation will move - towards zero over a length of time specified by the optional fadeTime - parameter. + Stops the `Class.AnimationTrack`. description: | - Stops the `Class.AnimationTrack`. Once called playback of the - `Class.AnimationTrack` will stop and the weight of the animation will move - towards zero over a length of time specified by the optional fadeTime - parameter. - - For example, if Stop is called with a fadeTime of 2 seconds it will take - two seconds for the weight of the `Class.AnimationTrack` to reach zero and - its effects completely end. Please note this will be the case regardless - of the initial weight of the animation. - - It is not recommended to use a fadeTime of 0 seconds to try to override + Stops the `Class.AnimationTrack`. Once called, the weight of the animation + will move towards zero over a length of time specified by the optional + `fadeTime` parameter. For example, if `Stop()` is called with a `fadeTime` + of `2`, it will take two seconds for the weight of the track to reach + zero and its effects completely end. Please note this will be the case + regardless of the initial weight of the animation. + + It is not recommended to use a `fadeTime` of `0` in an attempt to override this effect and end the animation immediately for `Class.Motor6D|Motor6Ds` that have their `Class.Motor.MaxVelocity` set to zero, as this causes the joints to freeze in place. If it must end immediately, ensure the From ae9d35a6bc631c1ff48d2636ce2a16264939fe6b Mon Sep 17 00:00:00 2001 From: IgnisRBX <43388550+IgnisRBX@users.noreply.github.com> Date: Wed, 26 Feb 2025 07:12:18 -1000 Subject: [PATCH 3/3] Update content/en-us/reference/engine/classes/AnimationTrack.yaml --- content/en-us/reference/engine/classes/AnimationTrack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/reference/engine/classes/AnimationTrack.yaml b/content/en-us/reference/engine/classes/AnimationTrack.yaml index 2ecb7ffce..cbdcdfde4 100644 --- a/content/en-us/reference/engine/classes/AnimationTrack.yaml +++ b/content/en-us/reference/engine/classes/AnimationTrack.yaml @@ -316,7 +316,7 @@ properties: description: | AnimationTrack.WeightTarget is a read-only property that gives the current weight of the `Class.AnimationTrack`. It has a default value of 1 and is - set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:()` or + set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:Stop()` or `Class.AnimationTrack:AdjustWeight()` is called. When weight is set in an `Class.AnimationTrack` it does not change instantaneously but moves from WeightCurrent to `Class.AnimationTrack.WeightTarget`. The time it takes to