Godot Version
4.7
Question
Learning FABRIK3D at the moment.
I want to set an angle to the first joint in skeleton and for the rest of chain to increase their rotation by 10
var angle = 10
var increment= 10
set_function(each_joint_rotation, angle + increment )
results : joint_1 = 10, joint_2 = 20, joint_3 = 30
Current code that I want to apply to:
var joint_limit_cone := JointLimitationCone3D.new()
joint_limit_cone.angle = deg_to_rad(10)
for joints in ik.get_joint_count(0):
ik.set_joint_limitation(0, joints, joint_limit_cone)
print(rad_to_deg(joint_limit_cone.angle))