﻿# MuJoCo condim: increasing sliding friction does not add a missing torsional mode

Inspect contact dimensionality before tuning friction for spinning or rolling behavior, and keep torsional and rolling coefficients separate from sliding friction.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/simulation-mujoco-condim-torsional-rolling-friction-modes/
Language: en

## Diagnose the missing resistance before tuning it

A modeled part spins between gripper contacts despite a large sliding-friction setting. The tuner keeps increasing that setting and assumes the material model is too weak. First inspect whether the selected contact includes a torsional resistance component at all. A point-contact representation can allow translational friction while omitting a torque around the normal. Increasing the strength of an existing force component does not create a missing torque component in the contact model.

## Read the dimensionality explicitly

The [MJCF reference](https://mujoco.readthedocs.io/en/3.3.7/XMLreference.html) distinguishes condim values 3, 4 and 6. The regular frictional contact includes normal and tangential forces; the next mode adds torsional resistance around the normal; the fuller mode also adds rolling resistance about tangential axes. Inspect the effective contact value rather than only the edited geom. Dynamically generated pairs combine geom settings under contact-resolution rules, while an explicit pair can carry its own definition. Record which definition actually supplied the tested mode.

## Do not copy coefficient meaning across modes

The [contact-model reference](https://mujoco.readthedocs.io/en/3.3.7/computation/index.html) separates tangential friction forces from torsional and rolling friction torques. It also assigns length units to the torsional and rolling coefficients. Those are not simply additional copies of a dimensionless sliding coefficient with identical interpretation. A material table copied without its contact model can therefore be misleading. State the modeled contact patch or deformation interpretation when choosing parameters, and avoid presenting a numerically large value as independent evidence of realistic grasp stability.

## Propose separate translational and rotational cases

A proposed isolated fixture should apply tangential, normal-axis rotational and rolling disturbances in distinct cases. Keep geometry, loading, solver and timestep fixed while changing contact dimensionality separately from coefficient values. Inspect force and torque components in the declared contact frame. A scene with several separated point contacts can also generate net resistance through force moment arms, so do not attribute every observed rotation solely to an individual point’s torsional mode. No grasp experiment was run here.

## Accept a mode inventory before a performance result

Retain effective pair condim, friction vector, cone configuration, contact frames and the selected observable. Acceptance should first establish that the intended components exist and are parameterized consistently. Only then compare a task outcome such as retained object orientation under a defined load. Do not infer a universal material coefficient from one stable grasp: geometry, load distribution and other contact points can produce similar outcomes with different parameter choices.

## Keep simulated contact choices distinct from success probabilities

The [GraspNet label guide](/journal/fg2-graspnet-raw-friction-score-not-success-probability/) explains why a model-based friction criterion is not an execution probability; [software reproducibility](/journal/software-stack-reproducibility/) supports preserving the solver configuration. Here the specific evidence concerns the contact’s available force and torque modes. More modes can support a different approximation, but do not themselves calibrate physical friction or validate hardware grasp retention. Those claims require independent measurements under a stated physical protocol.
