summaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree.cpp
AgeCommit message (Collapse)Author
2023-01-27Fix AnimationTree MethodTrack discards all processSilc Renew
2023-01-26Make AnimTree/Player processes adopt to GDVIRTUALSilc Renew
2023-01-26Fix spamming audio preview and cleanup process in AnimationPlayer/TreeSilc Renew
2023-01-22Fix wrong BezierTrack init valueSilc Renew
2023-01-19Allow AnimationNodes to restart when transitioning to the same stateSilc Renew
2023-01-05Simplify some editor plugin logic and remove dead codeYuri Sizov
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2022-12-23Merge pull request #70278 from ↵Rémi Verschelde
TokageItLab/add-animation-started-finished-signal-to-tree Add `animation_started/finished` signals to `AnimationTree` and fix time accuracy in StateMachine
2022-12-22Add inspector plugin for key time edit & Change find key argumentSilc Renew
2022-12-21Add animation_started/finished signals to AnimationTreeSilc Renew
2022-12-13Add null checks to AnimationTreeEditors and _clear_editors()Silc Renew
2022-12-12Fix seeking process order to retrieve key correctly for AnimationTrackSilc Renew
2022-12-07Avoid error spamming in animation_tree when path is not foundMedhat Riad
2022-12-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-12-02Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactlyRémi Verschelde
Refactor process of animation to retrive keys more exactly
2022-12-02Fix animation signal caches_cleared firing timingSilc Renew
2022-12-01Refactor process of animation to retrive keys more exactlySilc Renew
2022-12-01Remove unneeded calc in root motionSilc Renew
2022-12-01Emphasize the warning about special case blend for animationSilc Renew
2022-11-28Merge pull request #68992 from TokageItLab/animtree-trackend-processRémi Verschelde
Refactor process of AnimationTree for end of animation
2022-11-28Merge pull request #69199 from TokageItLab/fix-and-refactor-root-motionRémi Verschelde
Fix broken root motion scale & Refactor API & Add sample codes in documentation
2022-11-27Fixed AnimationTree TrackCacheValue bug for special case blendingSilc Renew
2022-11-26Fix broken root motion scale and refactor APISilc Renew
2022-11-23Merge pull request #68993 from TokageItLab/fix-anim-blending-for-DISCRETE-modeRémi Verschelde
Fix animation blending for value track `UPDATE_DISCRETE` and `UPDATE_TRIGGER` mode
2022-11-22Fix blending with negative blend weightsMai Lavelle
2022-11-22Refactor process of AnimationTree for end of animationSilc Renew
2022-11-22Fix animation blending for value track DISCRETE/TRIGGER modeSilc Renew
2022-11-16Optimize animation blend tree processSilc Renew
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-08Merge pull request #65983 from Mickeon/rename-audio-player-volume-dbRémi Verschelde
Rename AudioStreamPlayer3D's `unit_db` to `volume_db`
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-17Rename AudioStreamPlayer3D's `unit_db` to `volume_db`Micky
AudioStreamPlayer3D.`unit_db` -> `volume_db` Now matches the same name AudioStreamPlayer and AudioStreamPlayer2D use.
2022-09-16Merge pull request #65325 from TokageItLab/refactor-variant-for-animRémi Verschelde
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-15Move some methods to Animation from Variant for refactoringSilc Renew
2022-09-14Fix redraw timing in AnimationBlendTreeEditorSilc Renew
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-26add position track normalization & post process key value for retargetSilc Renew
2022-07-16refactor sync in AnimationTreeSilc Renew
2022-06-28Add AnimationTree Advance ExpressionsSaracenOne
Allows specifying an expression as a condition for state machine transitions. This gives much greater flexibility for creating complex state machines. By directly interfacing with the script code, it is possible to create complex animation advance condition for switching between states. Ensure assigning AnimationTreeStateMachineTransition base expression node in editor is relative to current AnimationTree node. Allow setting an expression base node on the AnimationTree itself. Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-23Merge pull request #61885 from TokageItLab/fix-method-seekRémi Verschelde
Improved way of getting MethodTrack keys
2022-06-23Respect disabled animation tracksreduz
Fixes #25537, supersedes #60509
2022-06-23improved way of getting method track keysSilc 'Tokage' Renew
2022-06-18Remove duplicate assignment of AnimationNode::State.validAndreas Raddau
In AnimationTree::_process_graph, the State.valid variable is set to true. A few lines later, it's set again. Probably a copy/paste mistake. This commit removes the second assignment.
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-18Merge pull request #60774 from TokageItLab/root-seek-modeRémi Verschelde
Fixed broken root motion calculation in internal process of `AnimationBlendTree` such as `NodeOneShot`