How to create a ragdoll in Godot 4 Beta 1

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DLM

Im currently trying to get a ragdoll working in godot 4 beta 1 but when I start the simulation i get 91 errors (pin_joint_set_param: Condition “joint->get_type() != JOINT_TYPE_PIN” is true). Is this something im doing wrong or is it a bug that is present in godot 4 beta 1.

:bust_in_silhouette: Reply From: BoxyLlama

I’m not familiar with rag doll personally, but this video mentions the error your talking about when porting from Godot 3 to Godot 4. The jist of it is that this is an issue in Godot 4 at the moment and the workaround is to save your skeletons outside of the project and only move them into the project after you’ve opened it in the editor. Then, before saving and closing the project, move them back out of the project again.

Thanks for your input.

It seems it is infact a bug present in Godot currently.
I’ve flagged it as an issue on github.

Physical Bone Joints broken · Issue #66645 · godotengine/godot · GitHub

DLM | 2022-09-30 20:59

:bust_in_silhouette: Reply From: DLM

Caused by issue #66645