summaryrefslogtreecommitdiff
path: root/scene/animation
AgeCommit message (Collapse)Author
2022-01-29Merge pull request #57372 from KoBeWi/tween_freeze()Rémi Verschelde
Better handle infinite Tween loops
2022-01-29Better handle infinite Tween loopskobewi
2022-01-28Merge pull request #57368 from TokageItLab/fix-delta-for-animation-treeRémi Verschelde
2022-01-29Make AnimationTree delta argument force double in coreSilc 'Tokage' Renew
2022-01-28Fix not being able to stop() empty Tweenskobewi
2022-01-27More time parameters change type float to doubleSilc 'Tokage' Renew
2022-01-25Expose AnimationNodeOneShot::mix_mode as a propertyWysocki Patryk
Fixes #23458.
2022-01-09Fix Tween pause behaviorkobewi
2022-01-07Merge pull request #56195 from Zylann/anim_key_error_messageRémi Verschelde
2022-01-05Added key name to error message about key not being validMarc Gilleron
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-10Merge pull request #55572 from aaronfranke/ci-doubleRémi Verschelde
2021-12-09Add a double-precision editor build to CIAaron Franke
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-06Add a constant StringName for RESET animationkobewi
2021-11-27Fixed PlaybackData in AnimationPlayerSilc 'Tokage' Renew
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Add a minimal template build to CIAaron Franke
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-11-09Merge pull request #53819 from TokageItLab/re-implement-ping-pongRémi Verschelde
Reimplement ping-pong animation and reverse playback
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03reimplement ping-pongSilc 'Tokage' Renew
2021-11-01Merge pull request #54391 from DavidSichma/doc_interpolate_valueRémi Verschelde
2021-10-29Fixed Tween::interpolate_value argument order.David Sichma
2021-10-28Fix parallel Tweens not ending correctlykobewi
2021-10-25Refactored Node3D rotation modesreduz
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course).
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-16Implement Animation Blend Shape Tracksreduz
* New track type BLEND_SHAPE * Blend shapes are imported via this new track type * Processing is more optimized (no longer relies on variants) * Modified the Blend Shape API in MeshInstance3D to use indices rather than StringNames (more optimizes) * Promo: Fixed a small bug in gizmo updating in Node3D that affected performance Dedicated BlendShape tracks are required for both optimization and eventually implementing them in animation compression.
2021-10-13Remove REST transform influence in skeleton bonesreduz
* Animations and Skeletons are now pose-only. * Rest transform is kept as reference (when it exists) and for IK * Improves 3D model compatibility (non uniform transforms will properly work, as well as all animations coming from Autodesk products).
2021-10-12Remove animation 3D transform track, replace by loc/rot/scale tracks.reduz
* `Animation.TYPE_TRANSFORM3D` track is gone. * Added POSITION_3D, ROTATION_3D, SCALE_3D tracks. * GLTF2, Collada, FBX importers will only import the track types found. * Skeleton3D bone poses are now Pos/Rot/Scale, pose matrix removed. * AnimationPlayer and AnimationTree animate these tracks separately, only when found. * Removed BakeReset code, is useless with these changes. This is the first in a series of commits designed to make the animation system in Godot more useful, which includes: * Better compatibility with Autodesk products * Better reusability of animations across models (including retargeting). * Proper animation compression. * etc. *Note* GLTF2 animation saving went broken with this PR, needs to be fixed in a subsequent one.
2021-10-11Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and ↵Juan Linietsky
NodeAnimation"
2021-10-09implement ping-pong loop in animationTokage
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-10-04GDScript completion: Handle quote style ad-hoc to remove editor dependencyRémi Verschelde
`core` and `scene` shouldn't depend on `editor`, so they can't query this style setting in `get_argument_options`. But we can handle it after the fact in GDScript's completion code. Also cleans up a couple extra unused invalid includes in `core`.
2021-10-03Merge pull request #44964 from Dragoncraft89/animation_tree_bugRémi Verschelde
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Fix non-const iterators in const methodsLightning_A
2021-09-24Refactor and move easing equationskobewi
2021-09-21Merge pull request #52605 from TokageItLab/fixed-vtype-in-node-oneshotRémi Verschelde
Fixed value type and applied small change in `AnimationNodeOneShot`
2021-09-20Merge pull request #52555 from TokageItLab/fixed-discrete-animation-seekRémi Verschelde
Fixed seeking behavior of property track with discrete interpolation
2021-09-20Merge pull request #52543 from ↵Rémi Verschelde
TokageItLab/fixed-transition-when-xfade-time-is-zero Fixed `AnimationNodeTransition`'s behavior when xfade time is zero
2021-09-16Improvements to Tweens' Variant typeskobewi
2021-09-15Fixed Animation Playback Track not seeking properlyEspeute Clement
Fixes #38093.
2021-09-14Merge pull request #51237 from KoBeWi/tween_fix()Rémi Verschelde
Various fixes to Tween code
2021-09-13Fixed value type and applied small change in AnimationNodeOneShotSilc 'Tokage' Renew
2021-09-11Fixed seeking behavior of property track with discrete interpolationSilc 'Tokage' Renew
2021-09-11fixed AnimationNodeTransition when xfade time is zeroSilc 'Tokage' Renew
2021-08-26Fix AnimationBlendTree reset on resource loadingPouleyKetchoupp
When reset_state was called on an existing AnimationBlendTree, the output node would disappear, causing some errors in the editor and preventing animations to play properly. This change ensures the output node is always present in the node tree.
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-13Style: Cleanup code using `text_editor/completion/use_single_quotes`Rémi Verschelde
2021-08-09Some work on double supportAaron Franke
2021-08-09Use doubles for time in animation codeAaron Franke