Rust

Witness the body horror that allows Rust players to look down and see their legs

It's fun to get a look at how the sausage is made in games, and Rust developer Garry Newman opened the doors to his butcher shop in a blog post today. The post reveals that Newman has wanted for years to let players look down in first-person and see their own legs while playing Rust, rather than traveling through the world as a disembodied camera in the same manner as most first-person games.

"We have a skeleton with the player model on it (which is what casts the localplayer shadow)," the post reads. "We want to show it, but we also want to manipulate the bones in a way that they don't conflict with the player's view. But if we do that the shadow would be all fucked."

The solution Newman finally came up with? Rendering a different model. "So what we do is basically copy the third person model (which creates the shadows) and manipulate the bones. The manipulation isn't anything complicated, it's just a case of tucking shit behind the camera," Newman writes.

Above: Gif made from video at Garry.tv

"There's a couple of extra things we have to do. When you're crouched and look down, we pull the viewmodel back so it doesn't clip through your knees."

While that solution does indeed look convincing from a first-person perspective (above), it's both funny and a little alarming to see what's happening behind the scenes to achieve it:

Above: Gif made from video at Garry.tv

As you can see, the player's shadow is intact and both it and their body will look perfectly normal to them, but "tucking shit behind the camera" technically turns the player into a weird stretched taffy monster. It's reminiscent of the disturbing gymnastics required to let players peer over cover in Crysis.

You can read the full post for more behind-the-scenes magic (there's a reason the models above don't show the player's arms) at Newman's blog. And while we're on the topic of Rust, we also learned this week that it'll release its first paid DLC next month, which will contain 10 new playable musical instruments.