PhysicsFC: Learning User-Controlled Skills for a Physics-Based Football Player Controller

Minsu Kim, Eunho Jung, Yoonsang Lee

Abstract

In modern sports gaming, the pursuit of realism is often hindered by the reliance on kinematic, pre-recorded animations which lead to visual artifacts like "foot sliding" and rigid transitions. PhysicsFC introduces a hierarchical reinforcement learning (RL) framework that enables physically simulated characters to perform complex football skills—including dribbling, trapping, and kicking—under direct user control. By combining a low-level motion foundation with high-level skill policies and a novel transition-based training strategy, PhysicsFC achieves fluid, human-like movement and seamless skill switching in real-time environments, including full 11v11 match simulations.

Introduction

Creating a fully physics-based controller for football remains a significant challenge in computer graphics and character animation. Unlike kinematic systems used in titles like EA Sports FC, a physics-based agent must maintain balance, navigate dynamic environments, and interact precisely with a fast-moving ball simultaneously. Previous attempts at physics-based controllers often struggled with responsiveness or were limited to isolated skills like simple locomotion. PhysicsFC addresses these challenges by providing a framework that is both physically grounded and highly controllable by a human user via a standard gamepad.

Methodology

The PhysicsFC architecture is built on a hierarchical structure that separates the complexity of motor control from the logic of task execution.

1. Hierarchical Architecture

At the base of the system is a Low-Level Foundation powered by Conditional Adversarial Latent Models (CALM). This model is pre-trained on a diverse dataset of human motion capture (MoCap) data, allowing it to learn a "latent space" of human movement. This foundation essentially teaches the character how to move like a human before any ball-specific tasks are introduced.

Above this foundation, the authors implement four Skill-Specific Policies: Move, Trap, Dribble, and Kick. Each policy outputs a latent variable that guides the low-level foundation to achieve specific objectives, such as maintaining a specific dribbling speed or intercepting a pass.

2. Skill Transition-Based Initialization (STI)

A primary contribution of this work is the Skill Transition-Based Initialization (STI) strategy. In traditional RL, policies are often trained in isolation, leading to failure when an agent is forced to transition from one skill to another (e.g., from a high-speed sprint to a precise ball trap). STI addresses this by initializing training episodes from states generated by other policies. By learning to recover and stabilize from the "messy" end-states of different skills, the agent develops the robustness required for continuous play.

3. Data-Embedded Goal-Conditioned Latent Guidance (DEGCL)

To ensure that the "Move" policy remains natural, the authors utilize DEGCL. This method uses MoCap data to guide the agent toward human-like gaits. Without this guidance, RL agents often discover "cheats"—such as unnatural sliding or jittering—to reach targets faster. DEGCL forces the agent to utilize realistic directional movements and speed-appropriate strides.

4. Control Logic and Physics Refinement

The system is managed by a Finite State Machine (FSM) that interprets user gamepad input and environmental triggers (such as ball proximity) to switch between policies. Additionally, the authors found that physical fidelity at the contact point was crucial; replacing a simplified box-shaped foot with a realistic football boot collision mesh significantly improved the character's ability to manipulate the ball with agility.

Data and Training

The framework was trained using a commercial football motion dataset consisting of approximately 90 clips (roughly 11,318 frames). This data includes locomotion, jumping, dribbling, and kicking. To handle the varying scales of rewards across different speeds and tasks, the authors introduced Normalization by Target Speed (NTS), which prevents high-speed rewards from dominating the learning process and allows the agent to master both slow, precise touches and explosive sprints.

Results and Discussion

PhysicsFC demonstrates significant improvements over baseline models in both performance and visual quality:

  • Dribbling Success: The model achieved a 90.3% goal achievement rate in dribbling tasks, outperforming ablated versions that lacked transition-aware training.
  • Transition Agility: With the implementation of STI, the time required to achieve a dribbling goal following a skill transition improved by 77%.
  • Trapping Proficiency: The Trap policy successfully handled ground and lob passes with a 78.3% success rate, utilizing a two-phase reward system designed to absorb the ball's momentum effectively.
  • Real-Time Scalability: The system proved robust enough to simulate a full 11v11 match in real-time within the Isaac Gym environment. This involved 22 physics-based agents interacting, colliding, and executing skills simultaneously.

Limitations and Future Work

Despite its success, PhysicsFC has areas for further refinement. The current agents tend to be "one-footed," favoring a single dominant foot for most interactions. Furthermore, the physics engine used does not currently account for aerodynamics, such as the Magnus effect, which prevents the simulation of "curving" ball trajectories. Future work will focus on integrating higher-level team tactics and improving the naturalness of fall-recovery animations, which can occasionally appear robotic due to high joint torques.

Conclusion

PhysicsFC represents a significant step toward the "holy grail" of sports simulation. By combining hierarchical RL with transition-aware training and data-driven guidance, the framework produces football players that are not only physically realistic but also highly responsive to user control, paving the way for the next generation of physics-based sports gaming.

Summary updated

BibTeX
@article{kim2025physicsfc,
  author = {Minsu Kim and Eunho Jung and Yoonsang Lee},
  title = {{PhysicsFC: Learning User-Controlled Skills for a Physics-Based Football Player Controller}},
  journal = {ACM Trans. Graphics},
  year = {2025},
}
Figure