Godot Version
4.6 dev 4
Question
Hello everyone!
I’m using Skeleton2D with a hierarchy of Bones2D, and everything is set in motion with a SkeletonModification2DJiggle (see pics below).
Works nicely, but sometimes the bones will do wild rotations: I was wondering how to limit each Bones2D angle.
I’ve read that I can use a clamping function, but I don’t understand exactly where I should call this function in my script.
Or should I use a PinJoint2D? Sorry I’m a bit confused by skeletons…
Thank you very much in advance for your help!
(1) The nodes hierarchy:
(2) the skeleton modification stack:

