force_mode_set_gain_scaling(scaling)

Scales the gain in force mode.

Parameters

scaling:

scaling parameter between 0 and 2, default is 1.

A value larger than 1 can make force mode unstable, e.g. in case of collisions or pushing against hard surfaces.

The value is stored until this function is called again. Add this to the beginning of your program to ensure it is called before force mode is entered (otherwise default value will be used).