Files
godot-demo-projects/3d/ik/addons/sade/plugin_main.gd
Noah Beard 14b6f3587b Added a 3D IK demo with the following IK solvers: Look at and FABRIK
Three scenes are included, one of which shows a example use case.
2018-03-17 11:44:06 -04:00

22 lines
492 B
GDScript

tool
extends EditorPlugin
func _enter_tree():
# Plugin Initialization here!
# ------ IK STUFF ------
add_custom_type("IK_LookAt", "Spatial", preload("ik_look_at.gd"), preload("ik_look_at.png"))
add_custom_type("IK_FABRIK", "Spatial", preload("ik_fabrik.gd"), preload("ik_fabrik.png"))
# ------ ---------- ------
func _exit_tree():
# Plugin Clean-up here!
# ------ IK STUFF ------
remove_custom_type("IK_LookAt")
remove_custom_type("IK_FABRIK")
# ------ ---------- ------