Data-Augmented Contact Model for Rigid Body Simulation

Yifeng Jiang, C. Karen LiuarXiv 2018 · OpenReview

Abstract

Accurately modeling contact behaviors for real-world, near-rigid materials remains a grand challenge for existing rigid-body physics simulators. This paper introduces a data-augmented contact model that incorporates analytical solutions with observed data to predict the 3D contact impulse which could result in rigid bodies bouncing, sliding or spinning in all directions. Our method enhances the expressiveness of the standard Coulomb contact model by learning the contact behaviors from the observed data, while preserving the fundamental contact constraints whenever possible. For example, a classifier is trained to approximate the transitions between static and dynamic frictions, while non-penetration constraint during collision is enforced analytically. Our method computes the aggregated effect of contact for the entire rigid body, instead of predicting the contact force for each contact point individually, maintaining same simulation speed as the number of contact points increases for detailed geometries.

Introduction

Simulating contact dynamics—how objects interact upon touching—is a fundamental challenge in rigid-body physics. Traditional simulators predominantly rely on the Coulomb friction model, an empirical framework established in the 18th century. While computationally efficient, this model assumes a simplistic linear relationship between normal and frictional forces, often failing to capture the nuances of real-world materials, particularly during complex 3D motions like spinning or multi-directional sliding.

Conversely, purely data-driven approaches using neural networks often struggle with physical consistency, frequently "hallucinating" behaviors like interpenetration or unnatural jittering. This research proposes a hybrid approach: a data-augmented contact model that leverages the flexibility of deep learning for complex friction while strictly enforcing physical laws like non-penetration through analytical constraints.

Methodology

The proposed model utilizes a multi-stage pipeline to decompose the contact problem:

State Classification

The system first classifies the contact state into three categories: static (stuck), dynamic (sliding/spinning), or detach (breaking contact). This classification is crucial for maintaining stability and preventing "perpetual creep," where objects never fully come to rest in purely data-driven models.

Contact state transitions between static and dynamic phases.

Hybrid Force Calculation

Once the state is determined, impulses are calculated through a hybrid process:

  • Static/Detach: These are handled entirely via analytical solutions. Static states enforce zero-velocity constraints, while detaching states result in zero force.
  • Dynamic: A neural network regressor predicts the complex frictional impulse. Simultaneously, an analytical Linear Complementarity Program (LCP) solver calculates the normal impulse to ensure the object does not penetrate the surface.

Patch-Based Aggregation and Articulation

To maintain efficiency regardless of geometric complexity, the model computes the aggregated effect over a contact patch rather than individual points. Furthermore, the model is modular; a contact model trained for a specific material pair can be integrated into larger articulated systems using specialized joint force solvers like Powell’s method.

Experimental Setup

Due to the limitations of existing datasets, which often focus on 2D planar sliding, the authors generated a comprehensive synthetic dataset to capture 3D complexity.

Geometries and parameter ranges for synthesized training data.

The dataset consists of 40,000 individual collisions simulated using the DART physics engine. Training scenarios included diverse 3D geometries such as boxes and pentagonal prisms. Key to the training success was representing 3D orientation using rotation matrices, which provided superior performance over Euler angles or quaternions.

Key Results and Insights

The hybrid model demonstrates significant improvements over purely data-driven (PDD) baselines:

  • Enhanced Accuracy: In 3D trajectory predictions for thrown objects, the model showed significantly lower errors in final position and orientation.
  • Physical Stability: The model closely matched the sequence of bounces and slides observed in high-fidelity simulators, whereas PDD models often produced erratic contact sequences.
  • Anisotropic Friction: The system successfully learned complex, direction-dependent friction (anisotropic), which is notoriously difficult to tune manually in standard simulators.

By prioritizing hard physical constraints for non-penetration and using data-driven components only for the less-understood aspects of friction, the simulation achieves a balance of realism and stability.

Limitations and Future Work

Current limitations include the assumption of a stationary contact surface and the handling of only a single contact patch at a time. Future research will explore multi-body collisions, simultaneous contact patches, and more data-efficient learning methods such as Support Vector Machines or Gaussian Processes to reduce the reliance on large synthetic datasets.

Summary updated

Abstract

Accurately modeling contact behaviors for real-world, near-rigid materials remains a grand challenge for existing rigid-body physics simulators. This paper introduces a data-augmented contact model that incorporates analytical solutions with observed data to predict the 3D contact impulse which could result in rigid bodies bouncing, sliding or spinning in all directions. Our method enhances the expressiveness of the standard Coulomb contact model by learning the contact behaviors from the observed data, while preserving the fundamental contact constraints whenever possible. For example, a classifier is trained to approximate the transitions between static and dynamic frictions, while non-penetration constraint during collision is enforced analytically. Our method computes the aggregated effect of contact for the entire rigid body, instead of predicting the contact force for each contact point individually, maintaining same simulation speed as the number of contact points increases for detailed geometries. Supplemental video: https://shorturl.at/eilwX
BibTeX
@misc{jiang2018data,
  author = {Yifeng Jiang and C. Karen Liu},
  title = {{Data-Augmented Contact Model for Rigid Body Simulation}},
  year = {2018},
  eprint = {1803.04019},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.04019},
}
Figure