Description
Tested versions
Reproducible in Godot 4.4.1 stable
System information
Godot v4.4.1.stable - Windows 10 (build 19045) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 32.0.15.5612) - Intel(R) Core(TM) i7-10870H CPU @ 2.20GHz (16 threads)
Issue description
In Skeleton2D node with at least one active SkeletonModification2DCCDIK with modification target node placed outside of IK chain length reach
upon instantiating skeleton scene more then once instances' (from the first to the second last) IK chains start to spin endlessly or position itself in a wrong way with respect to target node. Last instance behaves as intended.
Expected behavior is for all instances to work the same way, for chains to position itself properly wrt to target no matter the number of instances. Making resources unique doesn't help. Also with multiple instances later ones are affected stronger (rotate faster) then previous one. Changing instance nodes order in a scene (~2 times) affects which one will work properly (last one) and which will bug (previous ones).
Steps to reproduce
- Create Skeleton2D node
- Add some Bone2D and target node for modification
- Create SkeletonModification2DCCDIK with the bones and a target
- Place target farther then resulting IK chain length
- Save scene with a Skeleton2D
- Create new scene and place at least 2 instances of the skeleton scene and observe bug
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status