godot/scene/3d
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
..
area_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
area_3d.h Merge pull request #42742 from madmiraal/fix-12215 2021-05-18 20:00:48 +02:00
audio_stream_player_3d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
audio_stream_player_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
bone_attachment_3d.cpp New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
bone_attachment_3d.h New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
camera_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
camera_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_object_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_object_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_polygon_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_polygon_3d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
collision_shape_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
collision_shape_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
cpu_particles_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
cpu_particles_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
decal.cpp Use real_t in 3D nodes 2021-08-03 11:16:51 -05:00
decal.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
gpu_particles_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
gpu_particles_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
gpu_particles_collision_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
gpu_particles_collision_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
light_3d.cpp Merge pull request #51025 from reduz/fix-directional-shadow-bias 2021-08-13 16:45:49 +02:00
light_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
lightmap_gi.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
lightmap_gi.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
lightmap_probe.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
lightmap_probe.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
lightmapper.cpp Implement occlusion culling 2021-04-23 21:45:23 +02:00
lightmapper.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
listener_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
listener_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
mesh_instance_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
mesh_instance_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
multimesh_instance_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
multimesh_instance_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
navigation_agent_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_agent_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_obstacle_3d.cpp Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
navigation_obstacle_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_region_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
navigation_region_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
node_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
node_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
occluder_instance_3d.cpp Uniformize layer names, script methods and documentation 2021-08-12 08:06:42 -07:00
occluder_instance_3d.h Uniformize layer names, script methods and documentation 2021-08-12 08:06:42 -07:00
path_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
path_3d.h Use real_t in 3D nodes 2021-08-03 11:16:51 -05:00
physics_body_3d.cpp New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
physics_body_3d.h Remove infinite inertia and ray shapes from CharacterBody 2021-08-10 12:10:26 -07:00
physics_joint_3d.cpp Use get_global_* functions instead of using transforms. 2021-08-14 14:01:57 +05:45
physics_joint_3d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
position_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
position_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
proximity_group_3d.cpp Add check to internal methods to prevent crash 2021-07-27 12:26:13 +08:00
proximity_group_3d.h Use real_t in 3D nodes 2021-08-03 11:16:51 -05:00
ray_cast_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
ray_cast_3d.h Uniformize layer names, script methods and documentation 2021-08-12 08:06:42 -07:00
reflection_probe.cpp Node3D gizmo improvements 2021-07-23 21:01:10 +02:00
reflection_probe.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
remote_transform_3d.cpp Rename is_a_parent_of() to is_ancestor_of() 2021-06-21 08:39:28 -06:00
remote_transform_3d.h Use Array for node configuration warnings 2021-04-11 23:25:38 -05:00
SCsub Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00
skeleton_3d.cpp New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
skeleton_3d.h New and improved IK system for Skeleton3D 2021-08-14 15:57:00 -04:00
skeleton_ik_3d.cpp Use real_t in 3D nodes 2021-08-03 11:16:51 -05:00
skeleton_ik_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
soft_body_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
soft_body_3d.h Uniformize layer names, script methods and documentation 2021-08-12 08:06:42 -07:00
spring_arm_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
spring_arm_3d.h Initialize class variables with default values in scene/ [1/2] 2021-02-07 22:29:31 +01:00
sprite_3d.cpp Use doubles for time in many other places 2021-08-09 14:05:42 -05:00
sprite_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
vehicle_body_3d.cpp Node3D gizmo improvements 2021-07-23 21:01:10 +02:00
vehicle_body_3d.h Rename Transform to Transform3D in core 2021-06-03 07:30:01 -04:00
velocity_tracker_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
velocity_tracker_3d.h Rename Reference to RefCounted 2021-06-11 18:48:42 +02:00
visible_on_screen_notifier_3d.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
visible_on_screen_notifier_3d.h Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD 2021-06-16 22:01:39 -03:00
visual_instance_3d.cpp Merge pull request #51607 from aaronfranke/includes 2021-08-13 14:38:56 +02:00
visual_instance_3d.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
voxel_gi.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
voxel_gi.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
voxelizer.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
voxelizer.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
world_environment.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
world_environment.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
xr_nodes.cpp Fix some unnecessary includes 2021-08-13 00:27:38 -05:00
xr_nodes.h Fix some unnecessary includes 2021-08-13 00:27:38 -05:00