I am trying to use 6DofPhysics joints, and I can't seem to find a way to make them stiff enough. I'm trying to make a physics based robot arm. The problem is that the joints move on axes that they are supposed to be locked on. I've tried messing around with most of the various settings in the 6DofJoint, and I've tried all of the physics systems. Is there a way to make these joints stiffer?
https://cdn.discordapp.com/attachments/735042396277964870/937874309496594473/ArmPhysProject.zip https://cdn.discordapp.com/attachments/735042396277964870/937874648765452300/2022-01-31_19-57-30.mp4
Project to reproduce & video attached. (I sent them via discord earlier and copied the links from there. They may eventually go down.)
I am trying to use 6DofPhysics joints, and I can't seem to find a way to make them stiff enough. I'm trying to make a physics based robot arm. The problem is that the joints move on axes that they are supposed to be locked on. I've tried messing around with most of the various settings in the 6DofJoint, and I've tried all of the physics systems. Is there a good way to make these joints stiffer?
Video showing issue: https://www.dropbox.com/s/mlfug9xg2n4q5oe/PhysArmIssue.mp4?dl=1 Project to reproduce: https://www.dropbox.com/s/si5qlpljvt2tl4r/ArmPhysProject.zip?dl=1
The default settings are quite limited. You have to override _integrate_forces() and then manually alter the physics state.
https://docs.godotengine.org/en/stable/classes/class_rigidbody.html#class-rigidbody-method-integrate-forces
Whelp, I was afraid that's what the answer was. Thanks for the help.
You don't have to rewrite all the physics manually (though you can if you want to). You can just affect certain things, like making joints stiffer or slowing down the damping and stuff like that.