aboutsummaryrefslogtreecommitdiff
path: root/scene/animation/animation_tree_player.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Expose the animation pos to the user for AnimationNodes in AnimationTreesGustav Lund2018-05-171-0/+7
|
* Implemented ragdollAndreaCatania2018-05-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll Implementing ragdoll a Implemented implicit hierarchy. Improved Added some physics properties Added bone offset to preserve COM, partially fixed scaling work in progress WIP wip Implemented Joint Gizmos Implemented pin joint joint Implemented all joints
* Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-3/+1
| | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* Avoid converting Quat to Euler angles when not necessary.tagcup2018-04-141-2/+1
| | | | | | | | Also ensure that get_scale doesn't arbitrarlity change the signs of scales, ensuring that the combination of get_rotation and get_scale gives the correct basis. Added various missing functions and constructors. Should close #17968.
* fix bone scale/rotation in AnimationPlayerskarroffel2018-04-031-1/+1
| | | | | | | | fixes #17325. The bone pose transform was created by setting the rotation and **then** scaling the transform. This leads to object "deformation" that's not intended.
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* change float to bool as correct typefirefly24422017-12-301-1/+1
|
* Merge pull request #15008 from AlmightyScientist/issue-15000Noshyaar2017-12-271-5/+14
|\ | | | | Animation Tree: Prevent cycle_test from being altered by past-test.
| * Animation Tree: Prevent cycle_test from being altered by past-test.AlmightyScientist2017-12-241-5/+14
| |
* | AnimTreePlayer: fix duplicated propertiesPoommetee Ketson2017-12-251-2/+0
|/
* Add feature to disable animation tracksRay Koopa2017-12-091-1/+1
|
* [DOCS] AnimationTreePlayer props/members/methodsWill Nations2017-12-081-0/+4
|
* Allow for getting/setting indexed properties of objects using get/set_indexedBojidar Marinov2017-11-211-11/+9
| | | | Performance is around the same as using pure set() through GDScript.
* Refactor Fixed to PhysicsPoommetee Ketson2017-10-211-1/+1
|
* Renamed fixed_process to physics_processAndreaCatania2017-09-301-6/+6
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-8/+8
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Fix enums bindingsMaxim Sheronov2017-09-131-0/+3
| | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky2017-09-121-0/+1
|
* Fix AnimationTreePlayer bogus argument nameRémi Verschelde2017-09-011-1/+1
| | | | Regression from 6fa6149517b974fccd97e41f6b0a6466c83473fc.
* Fix some argument ordering, closes #10010Juan Linietsky2017-09-011-1/+1
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-5/+5
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-10/+10
|
* Removes type information from method bindsIgnacio Etcheverry2017-08-101-2/+2
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-1/+1
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-805/+670
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Inf and NaN support added to GDScript.Saracen2017-02-281-1/+1
|
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-64/+64
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-1/+1
| | | | This saves typing and is a step towards fixing #56
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-1/+1
|
* removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-141-7/+7
| | | | added a check to detect this case in the future
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-5/+5
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* - _ready() callback only happens once now, if you want to receive it again, ↵Juan Linietsky2017-01-101-6/+6
| | | | | | | use request_ready() - C++ Nodes mostly do an internal process callback, so it does not conflict with users willing to use their own process callbacks - callbacks such as _input, _process, _fixed_process _unhandled_input, _unhandled_key_input do not requiere calling a function to enable them. They are enabled automatically if found on the script.
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-2/+2
| | | | renamed to PoolVector
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-1/+2
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-64/+64
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* Fixed Mix nodes in Animation Tree Playerm4nu3lf2016-10-311-16/+4
|
* AnimationTreePlayer filters improvedm4nu3lf2016-06-221-50/+120
| | | | | | | Now the AnimationTreePlayer filters for Blend2 and OneShot nodes behave as expected, that is the main animation is not affected by the secondary animation if the track is filterd out for arbitarily complex trees.
* -Added trigger mode to tracks, useful for properties that work as triggers, ↵Juan Linietsky2016-06-191-1/+1
| | | | | | such as playing a sample, an animation, etc. -Better interpolation of discrete tracks, fixes #4417
* TimeSeek node in AnimationTreePlayer now propagates filtersm4nu3lf2016-06-101-1/+1
|
* AnimationTree: add filters to Animation nodes.Josh Grams2016-04-261-20/+57
|
* AnimationTree: set value track property per frame, not per track.Josh Grams2016-04-241-10/+5
|
* Merge pull request #4308 from JoshuaGrams/atp-resourcesRémi Verschelde2016-04-141-6/+5
|\ | | | | AnimationTreePlayer: fix discrete value tracks.
| * AnimationTreePlayer: fix discrete value tracks.Josh Grams2016-04-121-6/+5
| | | | | | | | | | | | Discrete value tracks don't update every frame (only when a new key is reached). So we can't use the actual property value as an accumulator: it will end up being zero most of the time.
* | Merge pull request #4286 from JoshuaGrams/atp-resourcesRémi Verschelde2016-04-121-9/+10
|\| | | | | AnimationTreePlayer: allow animating resource properties.
| * AnimationTreePlayer: allow animating resource properties.Josh Grams2016-04-111-9/+10
| | | | | | | | e.g. Particles2D config and param values.
* | Merge pull request #4284 from JoshuaGrams/atp-process-modeRémi Verschelde2016-04-121-1/+0
|\ \ | |/ |/| AnimationTreePlayer: constructor now sets processing mode.