0 votes

Hey, I'm not understanding what kind of parameters I need to send to skeleton.physical_bones_start_simulation()
Here's what I have:
skeleton.physical_bones_start_simulation() skeleton.physical_bones_start_simulation(["phys_upperarm_l","phys_forearm_l"])
If I simply start first function, then my ragdoll falls fully on ground and works fine. But if I do second function, it stops ragdoll compeltely. So if I just have second string or if I have both, I don't have anything ragdolled at all.
I am 100% sure I have "physupperarml" in my skeleton, I even checked with print in case I can't see with my eyes print(skeleton.get_node("phys_upperarm_l"))
output is: [PhysicalBone:1714]

So what am I doing wrong? I don't have any stop_simulation() functions, there is nothing in my script that disables ragdolls. I added them just now and trying to figure out how to partially ragdoll a limb.

Godot version 3.3.3.stable
in Engine by (129 points)

1 Answer

0 votes
Best answer

I foudn out, I had to write bone names, not physicalbone names in there

by (129 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.