Age | Commit message (Collapse) | Author |
|
|
|
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
|
|
Fix redraw timing in `AnimationBlendTreeEditor`
|
|
|
|
|
|
For consistency. Every other exposed `one_shot` is spaced out like this.
|
|
"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.
|
|
Fix AnimationNodeStateMachinePlayback::is_playing
|
|
Re-add AnimationNodeStateMachine::end_node for root state machine
|
|
piiertho/enhancement/rename-AnimationNodeTransition-input_count-to_enabled_inputs
|
|
to AnimationNodeTransition::enabled_inputs
|
|
"sampling" is a more accurate term than "interpolating" for what's
happening when using that function.
|
|
|
|
|
|
|
|
Rename `str2var` to `str_to_var` and similar
|
|
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`
|
|
Fix AnimationTree state machine start()
|
|
Fix Quaternion Tween and add Easing baker to AnimationTrackEditor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: jeronimo-schreyer <jeronimo.schreyer@gmail.com>
|
|
Fix #63660
|
|
|
|
Fix #24790
|
|
|
|
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
|
|
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.
|
|
|
|
|
|
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
|
|
|
|
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.
|
|
`AnimationNodeStateMachinePlayback::_check_advance_condition`
|
|
|
|
Fix animation player crashing when caching disabled tracks
|
|
|
|
|
|
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>
|
|
Improved way of getting MethodTrack keys
|
|
Fix ObjectDB instances leaked on state machine when editor closes
|
|
Respect disabled animation tracks
|
|
Fixes #25537, supersedes #60509
|
|
Old (prototype) name was left in code
Supersedes #60565
|
|
|