summaryrefslogtreecommitdiff
path: root/scene/animation
AgeCommit message (Collapse)Author
2022-09-19Change return type of `get_configuration_warnings` to `PackedStringArray`Marc Gilleron
2022-09-16Fix crash when playing Tween right after finishingkobewi
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-15Merge pull request #65196 from TokageItLab/fix-redraw-anim-treeRémi Verschelde
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15Move some methods to Animation from Variant for refactoringSilc Renew
2022-09-14Fix redraw timing in AnimationBlendTreeEditorSilc Renew
2022-09-06Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-08-31Merge pull request #63893 from guilhermefelipecgs/fix_state_machine_is_playingRémi Verschelde
Fix AnimationNodeStateMachinePlayback::is_playing
2022-08-31Merge pull request #64247 from guilhermefelipecgs/fix_end_nodeRémi Verschelde
Re-add AnimationNodeStateMachine::end_node for root state machine
2022-08-31Merge pull request #59919 from ↵Rémi Verschelde
piiertho/enhancement/rename-AnimationNodeTransition-input_count-to_enabled_inputs
2022-08-31enhancement: Rename declared property AnimationNodeTransition::input_count ↵Pierre-Thomas Meisels
to AnimationNodeTransition::enabled_inputs
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-30Cast between float and ints in Tween.`tween_property()`Micky
2022-08-29Improve documentation for `get_animation()`Haoyu Qiu
2022-08-27Add linear/cubic angle interpolation to Animation interpolation typeSilc Renew
2022-08-26Merge pull request #64367 from Mickeon/rename-var-to-strRémi Verschelde
Rename `str2var` to `str_to_var` and similar
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-26Merge pull request #54456 from rafallus/fix/anim_state_machine_startRémi Verschelde
Fix AnimationTree state machine start()
2022-08-23Merge pull request #64678 from TokageItLab/implement-ease-bakerRémi Verschelde
Fix Quaternion Tween and add Easing baker to AnimationTrackEditor
2022-08-22Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDORémi Verschelde
2022-08-22Merge pull request #63802 from TokageItLab/curve-transitionRémi Verschelde
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Add per-scene UndoRedokobewi
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-22Fix Quaternion Tween and implement ease bakerSilc Renew
2022-08-20Clean up mesh include code and commentsAaron Franke
2022-08-18added Curve in animation node transition for better control over cros…Silc Renew
Co-authored-by: jeronimo-schreyer <jeronimo.schreyer@gmail.com>
2022-08-10Re-add AnimationNodeStateMachine::end_node for root state machineGuilherme Felipe de C. G. da Silva
Fix #63660
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-08-03Fix AnimationNodeStateMachinePlayback::is_playingGuilherme Felipe de C. G. da Silva
Fix #24790
2022-07-31Fix AnimationNodeStateMachine::rename_nodeGuilherme Felipe de C. G. da Silva
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-27Add a Movie Quit On Finish property to AnimationPlayerHugo Locurcio
This quits the project when an animation is done playing in the given AnimationPlayer, but only in Movie Maker mode. When this happens, a message is printed with the absolute path of the AnimationPlayer node that caused the engine to quit. This can be used to create videos that stop at a specified time without having to write any script. A report is now also printed to the console when the video is done recording (as long as the engine was exited properly). This report is unfortunately not always visible in the editor's Output panel, as it's printed too late. A method was also added to get the path to the output file from the scripting API.
2022-07-26add position track normalization & post process key value for retargetSilc Renew
2022-07-26Fix initial value of TRS3DTrack cache in AnimationPlayerSilc Renew
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-21Fix incorrect expression base in ↵João Pedro São Gregorio Silva
`AnimationNodeStateMachinePlayback::_check_advance_condition`
2022-07-16refactor sync in AnimationTreeSilc Renew
2022-06-29Merge pull request #62510 from MinusKube/animation-reset-crashRémi Verschelde
Fix animation player crashing when caching disabled tracks
2022-06-29Fix animation player crashing when caching disabled tracksMinusKube
2022-06-29fixed Pingpong animation get snaging on the edge 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-23Merge pull request #61826 from guilhermefelipecgs/fix_leakRémi Verschelde
Fix ObjectDB instances leaked on state machine when editor closes
2022-06-23Merge pull request #62337 from reduz/respect-disabled-animation-tracksRémi Verschelde
Respect disabled animation tracks
2022-06-23Respect disabled animation tracksreduz
Fixes #25537, supersedes #60509
2022-06-23Fix animation reset on savereduz
Old (prototype) name was left in code Supersedes #60565