Where is the motor parameters in the 6DoF PhysicalBone3D node?

Godot Version

4.6.2

Question

I wanna make an active ragdoll in godot (like in gta) where it moves when it falls and reacts to the environment, but ive tried honestly everything to get the active ragdoll part working. I’ve spent countless hours trying to figure it out and it never worked. For some reason the PhysicalBone3D node has a 6DoF option, but it doesnt have the motor parameters i need? And the spring parameters just never worked for me, so is there a workaround for this or am i doing something wrong?

Apparently, you want something like this. You can ask the author of this thread how he did it.

I couldnt find one either. You could simulate the motor in script or with a C++ gdextension function.

Whats the math of a motor?

torque = moment_of_inertia * alpha

Power = torque * omega

omega = omega_0 * alpha * t

etc …

you need to rotate around an arbitrary angle so give the rigid bodies an angular force around the pivot and an axis - maybe theres a demo showing how to make a lever with a rigid body?