Home / Development / Unity and Havok partner on two-part ‘complete physics solution’

Unity and Havok partner on two-part ‘complete physics solution’

Unity today announced that it was collaborating with Havok on two physics solution for the engine. The first is Unity Physics, a new package written entirely in Unity’s high-performance C# code. While the second is a full integration of the flagship Havok Physics into Unity.

Havok’s Oliver Strunk appeared on stage at the Unity keynote to say: “We’re very excited to show how Unity and Havok can work together to push physics to the next level." The companies have apparently only been working together for a few months, but the results are already impressive.

Unity co-founder and CTO Joachim Ante said of Unity Physics: “We want to give control of the physics simulation back to the developer. Something that’s fast, easy to understand and easy to modify… It’s written completely in C# using the burst compiler, specifically for performance“

Strunk said that Havok, like Unity, had been on its own journey, “from an object-oriented model to a data-oriented one, giving users more control. And with that experience we were able to work with Unity on a new data format in C# that describes physics in a clean and simple way." He added that he was impressed with the performance of Unity’s C# code and burst compiler.

Ante added that: "In our experience, physics is often what makes or breaks a network game, so we worked with the Havok team to design [Unity] physics specifically for networked games.”

While Unity Physics will be sufficient for many titles, it’s not going to work for everything. "We also wanted to make the power of Havok physics available inside Unity," said Ante. With Strunk adding that: “With a simple switch you can go from Unity Physics to the Havok engine, everything else can stay the same: game content and scripting."

The pair then showed an impressive demo, using Unity’s own FPS demo from last year as a basis. They have fun spawning huge numbers of objects and knocking them about with a force gun. It ends with a huge washing machine filled with ragdoll bodies, spinning around while they bounce about and fly out. Its genuinely impressive stuff, and shows that Havok can be easily integrated into existing Unity projects.

Unity physics is available as a preview package today. While Havok Physics will be available “later this summer”.

Read all our GDC 2019 coverage here.

About Seth Barton

Seth Barton is the editor of MCV – which covers every aspect of the industry: development, publishing, marketing and much more. Before that Seth toiled in games retail at Electronics Boutique, studied film at university, published console and PC games for the BBC, and spent many years working in tech journalism. Living in South East London, he divides his little free time between board games, video games, beer and family. You can find him tweeting @sethbarton1.

Check Also

Heaven’s Vault – how Inkle wrote its own herstory

Heaven’s Vault is out today, having recently won the Ukie UK Game of the Show at GDC. Seth Barton catches up with developer Inkle’s co-founders to talk about their passion for language, in all its many forms