godot/core
TwistedTwigleg 5ffed49907 New and improved IK system for Skeleton3D
This PR and commit adds a new IK system for 3D with the Skeleton3D node
that adds several new IK solvers, as well as additional changes and functionality
for making bone manipulation in Godot easier.

This work was sponsored by GSoC 2020 and TwistedTwigleg

Full list of changes:
* Adds a SkeletonModification3D resource
  * This resource is the base where all IK code is written and executed
* Adds a SkeletonModificationStack3D resource
  * This node oversees the execution of the modifications and acts as a bridge of sorts for the modifications to the Skeleton3D node
* Adds SkeletonModification3D resources for LookAt, CCDIK, FABRIK, Jiggle, and TwoBoneIK
  * Each modification is in it's own file
* Several changes to Skeletons, listed below:
  * Added local_pose_override, which acts just like global_pose_override but keeps bone-child relationships intract
    * So if you move a bone using local_pose_override, all of the bones that are children will also be moved. This is different than global_pose_override, which only affects the individual bone
  * Internally bones keep track of their children. This removes the need of a processing list, makes it possible to update just a few select bones at a time, and makes it easier to traverse down the bone chain
  * Additional functions added for converting from world transform to global poses, global poses to local poses, and all the same changes but backwards (local to global, global to world). This makes it much easier to work with bone transforms without needing to think too much about how to convert them.
  * New signal added, bone_pose_changed, that can be used to tell if a specific bone changed its transform. Needed for BoneAttachment3D
  * Added functions for getting the forward position of a bone
* BoneAttachment3D node refactored heavily
  * BoneAttachment3D node is now completely standalone in its functionality.
    * This makes the code easier and less interconnected, as well as allowing them to function properly without being direct children of Skeleton3D nodes
  * BoneAttachment3D now can be set either using the index or the bone name.
  * BoneAttachment3D nodes can now set the bone transform instead of just following it. This is disabled by default for compatibility
  * BoneAttachment3D now shows a warning when not configured correctly
* Added rotate_to_align function in Basis
* Added class reference documentation for all changes
2021-08-14 15:57:00 -04:00
..
config Rename iterations_per_second to physics_ticks_per_second 2021-08-11 02:37:02 +02:00
crypto [Crypto] Delete mbedtls ctx in deconstructor. 2021-07-03 16:12:55 +02:00
debugger Use doubles for time in many other places 2021-08-09 14:05:42 -05:00
error Add error_string function 2021-04-27 22:02:35 +02:00
extension Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
input Style: Cleanup code using text_editor/completion/use_single_quotes 2021-08-13 21:27:57 +02:00
io Resource: Remove unused _use_builtin_script() virtual method 2021-08-12 12:16:17 +02:00
math New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
object Add a instance callback for extensions 2021-08-05 14:56:13 -03:00
os Refactors the memnew_placement. 2021-08-13 10:18:34 +02:00
string Convert ustring macros to inline functions and use them wherever possible. 2021-08-13 10:32:29 +05:45
templates Add the possibility to initialize the classes allocated with the PagedAllocator 2021-08-14 09:04:31 +02:00
variant Merge pull request #38992 from Dragoncraft89/master 2021-08-11 18:43:27 +02:00
core_bind.cpp Rename iterations_per_second to physics_ticks_per_second 2021-08-11 02:37:02 +02:00
core_bind.h Rename iterations_per_second to physics_ticks_per_second 2021-08-11 02:37:02 +02:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:06:51 +02:00
core_constants.cpp Use Key enum instead of plain integers 2021-08-10 16:26:55 -05:00
core_constants.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
core_string_names.cpp Removed _change_notify 2021-02-10 19:31:24 -03:00
core_string_names.h Removed _change_notify 2021-02-10 19:31:24 -03:00
doc_data.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
doc_data.h Add theme item descriptions to the online documentation 2021-08-04 22:27:10 +03:00
register_core_types.cpp Improve extension system 2021-08-05 14:57:31 -03:00
register_core_types.h Implement native extension system 2021-06-25 17:32:45 -03:00
SCsub Implement native extension system 2021-06-25 17:32:45 -03:00
typedefs.h Implement the ability to disable classes 2021-07-13 09:25:14 -03:00
version.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00