This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node3D | |
# FABRIK for Skeletons in Godot4 based on https://github.com/joaen/EasyIK/blob/master/EasyIK/Assets/Scripts/EasyIK.cs | |
# Usage: | |
# - add the script to a node | |
# call the activate function | |
# fabrik.activate(bone_ids, skeleton, left_hand_target, left_hand_pole) | |
# bone_ids is an Array with the bone ids of the chain | |
# skeleton is the skeleton | |
# left_hand_target is a Node3D |