summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_node_state_machine.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-271-2/+2
|\ | | | | Fix copyright headers referring to Godot
| * Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-261-1/+1
|\ \ | |/ |/|
| * Implement array based hash mapnazarii2024-10-241-1/+1
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Determine break_loop_at_end 1 frame earlier using prediction by deltaSilc Lizard (Tokage) Renew2024-07-281-3/+4
|
* Add approx comparing methods to Animation, use them on time comparisonSilc Lizard (Tokage) Renew2024-07-241-4/+4
|
* Fix StateMachine process when transition to end & optimize StringNameSilc Lizard (Tokage) Renew2024-07-131-38/+35
|
* Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-5/+5
| | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* Merge pull request #89575 from TokageItLab/move-loop-check-stateRémi Verschelde2024-04-041-4/+5
|\ | | | | | | Move the line of infinity loop checking in AnimationStateMachine
| * Move the line of infinity loop checking in AnimationStateMachineSilc Lizard (Tokage) Renew2024-03-171-4/+5
| |
* | Rework AnimationNode process for retrieving the semantic time infoSilc Lizard (Tokage) Renew2024-03-201-73/+65
|/
* Optimise Object's `get_argument_options`Micky2024-02-291-2/+4
|
* Add Autocompletion for AnimationNodeStateMachine & BlendTreeMicky2024-01-061-0/+16
|
* Remove differences of the code between old AnimationTree and MixerSilc Lizard (Tokage) Renew2023-12-061-2/+2
|
* Fix GroupedStateMachine resetSilc Lizard (Tokage) Renew2023-09-301-1/+1
|
* Implement AnimationManager the base class of AnimationPlayer/TreeSilc Lizard (Tokage) Renew2023-09-291-17/+49
|
* [Scene,Main] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-121-1/+1
|
* Fix infinity loop state can't breakSilc Lizard (Tokage) Renew2023-07-071-4/+6
|
* Merge pull request #76418 from reduz/method-bind-validated-callRémi Verschelde2023-05-081-1/+5
|\ | | | | | | Add ValidatedCall to MethodBind
| * Add ValidatedCall to MethodBindJuan Linietsky2023-04-301-1/+5
| | | | | | | | | | | | | | * This should optimize GDScript function calling _enormously_. * It also should simplify the GDScript VM considerably. NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
* | Unexpose AnimationTrackEditPlugin as not implementedYuri Sizov2023-04-251-1/+1
|/
* Rework StateMachine and nested StateMachine processSilc Renew2023-04-181-459/+840
| | | | Breaking compatibility: If a StateMachineTransition is connected to a nested StateMachine prior to this, it is removed. Also, there was a feature to connect another StateMachine as the End of a StateMachine, which is also removed to avoid reference confusion. It was like a GoTo Statement, also further passing the same reference to the blending process, causing the blending calculation to break or causing some StateMachines to not work.
* Fix NodeTransition initialization and AnimationNode remapping methodSilc Renew2023-02-051-1/+19
|
* Make restart in NodeStateMachine / NodeTransition optionalSilc Renew2023-02-011-1/+14
|
* Add indicator for state machine transition fade progress and position of ↵SaracenOne2023-01-251-1/+29
| | | | state transitioning from.
* PropertyUsage: Rename "DO_NOT_SHARE_ON_DUPLICATE" to "ALWAYS_DUPLICATE"Aaron Franke2023-01-241-1/+1
|
* Merge pull request #71840 from TokageItLab/fix-travel-resetRémi Verschelde2023-01-221-3/+5
|\ | | | | | | Fix weird behavior of teleporting to self-state when `reset_on_teleport` is `false` in StateMachine
| * Fix weird behavior of teleporting to self-state when reset is falseSilc Renew2023-01-221-3/+5
| |
* | Expose fading_from_node from StateMachineSilc Renew2023-01-221-1/+2
|/
* Allow AnimationNodes to restart when transitioning to the same stateSilc Renew2023-01-191-1/+1
|
* Add next/reset function to AnimationStateMachineSilc Renew2023-01-191-44/+88
|
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Fix wrong AnimationStateMachine process for end of fadingSilc Renew2022-12-261-4/+4
|
* Merge pull request #70278 from ↵Rémi Verschelde2022-12-231-5/+6
|\ | | | | | | | | | | TokageItLab/add-animation-started-finished-signal-to-tree Add `animation_started/finished` signals to `AnimationTree` and fix time accuracy in StateMachine
| * Add animation_started/finished signals to AnimationTreeSilc Renew2022-12-211-5/+6
| |
* | Merge pull request #65312 from SaracenOne/auto_advance_behaviourRémi Verschelde2022-12-231-37/+25
|\ \ | | | | | | | | | Make auto-advance flag a requirement for conditional/expression evaluation
| * | Change auto_advance flag to advance_mode enum and unify with disabled flag.SaracenOne2022-12-161-37/+25
| | | | | | | | | | | | | | | | | | Expressions and conditions now require auto mode to be set to auto. Adds a toggle button to the state machine editor for whether new transitions advance settings should default to auto mode or not.
* | | Fix StateMachine cannot connect nodes bugSilc Renew2022-12-211-3/+4
| |/ |/|
* | Fixed a bug where negative Blend values were being discardedSilc Renew2022-12-201-2/+3
|/
* Refactor process of animation to retrive keys more exactlySilc Renew2022-12-011-5/+3
|
* Refactor process of AnimationTree for end of animationSilc Renew2022-11-221-11/+11
|
* Merge pull request #67020 from GuilhermeGSousa/remove-transition-expression-nodeRémi Verschelde2022-10-071-21/+4
|\ | | | | | | Remove expression base node for transitions
| * Remove expression base node for transitionsGuilherme Sousa2022-10-071-21/+4
| |
* | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-26/+26
|/ | | | change warnings=all to use /W4.
* Fix expression base path on transitionsGuilherme Sousa2022-09-251-4/+7
|
* Merge pull request #63893 from guilhermefelipecgs/fix_state_machine_is_playingRémi Verschelde2022-08-311-23/+22
|\ | | | | Fix AnimationNodeStateMachinePlayback::is_playing
| * Fix AnimationNodeStateMachinePlayback::is_playingGuilherme Felipe de C. G. da Silva2022-08-031-27/+28
| | | | | | | | Fix #24790
* | Merge pull request #64247 from guilhermefelipecgs/fix_end_nodeRémi Verschelde2022-08-311-8/+6
|\ \ | | | | | | Re-add AnimationNodeStateMachine::end_node for root state machine
| * | Re-add AnimationNodeStateMachine::end_node for root state machineGuilherme Felipe de C. G. da Silva2022-08-101-8/+6
| |/ | | | | | | Fix #63660