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 |
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
| # Loads a scene in the background using a seperate thread and a queue. | |
| # Foreach new scene there will be an instance of ResourceInteractiveLoader | |
| # that will raise an on_scene_loaded event once the scene has been loaded. | |
| # Hooking the on_progress event will give you the current progress of any | |
| # scene that is being processed in realtime. The loader also uses caching | |
| # to avoid duplicate loading of scenes and it will prevent loading the | |
| # same scene multiple times concurrently. | |
| # | |
| # Sample usage: | |
| # |
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
| # | |
| # Author: @November_Dev | |
| # | |
| # This class is a straightforward, zero overhead implementation of | |
| # very basic FPS controls. | |
| # | |
| # Ideal node setup: | |
| # KinematicBody | |
| # |- Camera | |
| # |