godotengine / godotengine/godot
AnimationPlayer Stop does not automatically reset section
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
I use Godot 4.4.1
### System information
Win10 Godot4.4.1
### Issue description
1. Call AnimationPlayer.PlaySectionWithMarkers()
2. Call AnimationPlayer.Stop()
3. Call AnimationPlayer.Play()
4. Then the animtion will still start from the previous section
### Steps to reproduce
1. Call AnimationPlayer.PlaySectionWithMarkers()
2. Call AnimationPlayer.Stop()
3. Call AnimationPlayer.Play()
4. Then the animtion will still start from the previous section
### Minimal reproduction project (MRP)
.
Contributor guide
Research direction
Start by reproducing the issue in Godot 4.4.1 using AnimationPlayer.PlaySectionWithMarkers(), AnimationPlayer.Stop(), and AnimationPlayer.Play(). Trace the AnimationPlayer playback state involved in section playback; done means Play() after Stop() starts the animation from the expected initial position rather than the previous section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100