Thursday, March 13, 2025, 8:56AM |  41°
MENU
Advertisement
Researchers at Carnegie Mellon University and DeepMotion Inc. — a California company that develops smart avatars — have developed the first physics-based real-time method for controlling animated characters that can learn dribbling skills from experience.
1
MORE

Your NBA 2K avatar might be getting a serious upgrade, thanks to CMU research

CMU Robotics Institute

Your NBA 2K avatar might be getting a serious upgrade, thanks to CMU research

It’s happened to the best of us: You’re dribbling the basketball down the court when all of a sudden you realize it appears to be stuck to your fingers.

Or, you release the ball and watch it move in a pretty impossible trajectory from your hand to the surface of the court.

Well, that mostly only happens in the virtual world of “NBA 2K” video games.

Advertisement

Those games are state-of-the-art. The avatars have pretty natural motion, sure, but they still contain some artifacts — essentially computer science lingo for glitches. 

This is the interface used during the experiment with Pluribus and the professional players.
Courtney Linder
Hold onto your chips — this Carnegie Mellon AI can easily beat world pros at Texas hold'em

New Carnegie Mellon University research uses a form of deep learning to create physics-based character animations for video games. The aim is to create the most realistic movements possible.

“If we understand how people move, we can see if they’re moving in expected or unexpected ways,” said Jessica Hodgins, a co-author of the new study who also serves as a professor at CMU’s Robotics Institute and Computer Science Department. 

That’s helpful in medicine or biomechanics, she said, because it helps in rehabilitation exercises. In the short term, though, Ms. Hodgins expects the research to be used commercially for video games. 

Advertisement

The authors used deep reinforcement learning — a type of goal-oriented algorithm — to teach computers to dribble. Not unlike the 10,000-hour rule set forth by Malcolm Gladwell in his book “Outliers: The Story of Success,” it takes serious repetition to teach computers these moves. Mr. Gladwell’s 10,000-hour rule states that it takes as many hours of intentional practice to master a skill.

Outside motion capture footage of real people dribbling basketballs was used to teach the system. Over millions of trials, animated players learned to dribble between their legs, dribble behind their backs and do crossover moves. They also discovered how to transition from one skill to another. 

All in all, the research took about two years to complete, but it took less than 24 hours to teach the computer each of these skills, despite the repetition. 

It’s all about building “physics-based controllers” from motion capture data, said Ms. Hodgins.

Facebook is setting up a new artificial intelligence lab on Carnegie Mellon University's campus in Oakland, where a former Disney Research Lab was housed.
Courtney Linder
Facebook says its AI lab on CMU campus won't distract from robotics professors' current work

A controller, in this case, is essentially a software program that directs the flow of data from one system to another (consider a video game controller that allows you to make decisions and share that with the game through a hand-held device). 

So when you move your avatar dribbling down the court to the basket, the controller considers the current state of your character — such as the pose and the velocity at which you’re traveling — as well as the current state of the rest of the court before computing the way the basketball will roll from your character’s fingertips.

That ensures that, given the avatar’s motion, the ball moves in a physically plausible way. Rather than the ball appearing to stick to the player’s fingers, it might spin on the avatar’s fingertips. Those minute details are usually very difficult to capture.

Ms. Hodgins said she and co-author Libin Liu, chief scientist for DeepMotion, a Redwood City, Calif-based animation company, focused on basketball because the speed and agility required to play the game is significant.

“It’s challenging ... the character is able to do some pretty complicated manipulations as far as the tricks and dribbling,” she said. “And you have to remain balanced while doing these tricks with the ball.”

In the future, Ms. Hodgins said, a similar method may be used to train robots. 

While there’s an added layer of complexity in robots — you must actually build the mechanism — they’re still subject to the real-world rules of physics that a video game avatar may override.

“Because we’re doing simulations, we don’t have torque limits that humans have that limit us,” Ms. Hodgins explained. “Even [with] an athlete, there’s a limit to the power source and how strong they may be.”

As for the next challenge? Ms. Hodgins says it’ll likely be soccer. 

Courtney Linder: clinder@post-gazette.com or 412-263-1707. Twitter: @LinderPG.

First Published: August 7, 2018, 12:45 p.m.

RELATED
In this Aug. 29, 2016 photo, a robot places a pizza into an oven at Zume Pizza in Mountain View, Calif. Zume is one of a growing number of food-tech firms seeking to disrupt the restaurant industry with software and robots that they say let them cut costs, speed production and improve worker safety.
Courtney Linder
Sony is funding CMU research on cooking and food prep robots
SHOW COMMENTS (0)  
Join the Conversation
Commenting policy | How to Report Abuse
If you would like your comment to be considered for a published letter to the editor, please send it to letters@post-gazette.com. Letters must be under 250 words and may be edited for length and clarity.
Partners
Advertisement
Pittsburgh Steelers head coach Mike Tomlin greets New York Jets quarterback Aaron Rodgers (8) after an NFL football game, Sunday, Oct. 20, 2024, in Pittsburgh.
1
sports
Gerry Dulac: Steelers have made offer to Aaron Rodgers, but holdup has nothing to do with money
Pittsburgh Steelers head coach Mike Tomlin talks to quarterback Russell Wilson (3) during an NFL football game, Sunday, Oct. 20, 2024, in Pittsburgh.
2
sports
Joe Starkey: Steelers staging the saddest quarterback derby there ever was
The dome of the U.S. Capitol is seen in December 2024, when the House previously approved a stopgap funding bill to avert a government shutdown.
3
news
Fetterman says he won't back government shutdown as funding deadline looms over Senate
The Social Security Administration Building at 6117 Penn Circle North in East Liberty Wednesday, Jan. 2, 2019 in Pittsburgh.
4
news
Social Security Administration to begin withholding full benefits from overpaid recipients
The U.S. Steel plant in Braddock on Friday, Feb. 7, 2025. U.S. Steel sued rival steelmaker Cliffs in January arguing the Cleveland-based company conspired with the union that represents thousands of workers at both Cliffs and U.S. Steel to thwart a $14.9 billion merger with Japan’s largest steel company.
5
business
Rival steelmakers Cleveland-Cliffs, U.S. Steel spar in court
Researchers at Carnegie Mellon University and DeepMotion Inc. — a California company that develops smart avatars — have developed the first physics-based real-time method for controlling animated characters that can learn dribbling skills from experience.  (CMU Robotics Institute )
CMU Robotics Institute
Advertisement
LATEST business
Advertisement
TOP
Email a Story