Skip to content

Expose softness parameter of pin joint to the editor.

Rafał Mikrut requested to merge github/fork/Biliogadafr/PinSoftness into master

Created by: Biliogadafr

This parameter was already presented inside PinJoint and it was always set to 0. So I played with it and decided to expose it to the editor. It allows some fine tuning of joint and decreases impulses inside. The actual behaviour depends on "bias" value. If bias is trying to correct position errors by introducing some energy into the system, softness in the opposite decreases the final impulse. So together they act a bit like spring. If bias introduce too much energy and make simulation unstable some softness may make it stable again.

Merge request reports