Skip to content

Commit ee0338f

Browse files
authored
Update AnimationTrack.yaml
1 parent 55c43b5 commit ee0338f

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

content/en-us/reference/engine/classes/AnimationTrack.yaml

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ properties:
316316
description: |
317317
AnimationTrack.WeightTarget is a read-only property that gives the current
318318
weight of the `Class.AnimationTrack`. It has a default value of 1 and is
319-
set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:Stop()` or
319+
set when `Class.AnimationTrack:Play()`, `Class.AnimationTrack:()` or
320320
`Class.AnimationTrack:AdjustWeight()` is called. When weight is set in an
321321
`Class.AnimationTrack` it does not change instantaneously but moves from
322322
WeightCurrent to `Class.AnimationTrack.WeightTarget`. The time it takes to
@@ -601,22 +601,16 @@ methods:
601601
writeCapabilities: []
602602
- name: AnimationTrack:Stop
603603
summary: |
604-
Stops the `Class.AnimationTrack`. Once called playback of the
605-
`Class.AnimationTrack` will stop and the weight of the animation will move
606-
towards zero over a length of time specified by the optional fadeTime
607-
parameter.
604+
Stops the `Class.AnimationTrack`.
608605
description: |
609-
Stops the `Class.AnimationTrack`. Once called playback of the
610-
`Class.AnimationTrack` will stop and the weight of the animation will move
611-
towards zero over a length of time specified by the optional fadeTime
612-
parameter.
613-
614-
For example, if Stop is called with a fadeTime of 2 seconds it will take
615-
two seconds for the weight of the `Class.AnimationTrack` to reach zero and
616-
its effects completely end. Please note this will be the case regardless
617-
of the initial weight of the animation.
618-
619-
It is not recommended to use a fadeTime of 0 seconds to try to override
606+
Stops the `Class.AnimationTrack`. Once called, the weight of the animation
607+
will move towards zero over a length of time specified by the optional
608+
`fadeTime` parameter. For example, if `Stop()` is called with a `fadeTime`
609+
of `2`, it will take two seconds for the weight of the track to reach
610+
zero and its effects completely end. Please note this will be the case
611+
regardless of the initial weight of the animation.
612+
613+
It is not recommended to use a `fadeTime` of `0` in an attempt to override
620614
this effect and end the animation immediately for `Class.Motor6D|Motor6Ds`
621615
that have their `Class.Motor.MaxVelocity` set to zero, as this causes
622616
the joints to freeze in place. If it must end immediately, ensure the

0 commit comments

Comments
 (0)