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 MCV Staff

Check Also

The shortlist for the 2024 MCV/DEVELOP Awards!

After carefully considering the many hundreds of nominations, we have a shortlist! Voting on the winners will begin soon, ahead of the awards ceremony on June 20th