Unity and Havok Physics for DOTS-based projects
Create rich, interactive, and dynamic worlds powered by Unity’s C# Data-Oriented Technology Stack.
Two physics systems, one data protocol
The Physics solution consists of two offerings: Unity Physics and Havok Physics. Both are based on the DOTS framework, so they use the same data protocol.
This allows you to seamlessly transition your projects between physics systems without having to rebuild your content or game code.
Whether you’re using Unity Physics, Havok Physics, or both in unison, the unified data protocol allows you to author once, and simulate using any DOTS-enabled system.
Behind the scenes: The Unity and Havok partnership
In collaboration with Havok, we developed a brand new physics engine built on the DOTS technology.
Hear Shawn McClelland (Product Manager at Unity) and Joel Van Eenwyk (Field Application Engineer at Havok) explain how we partnered to build the systems on top of the DOTS framework, which enable you to create physics simulations that deliver exceptional performance compatible with modern networking needs.
Unity Physics and Havok Physics are built on top of the Data-Oriented Technology Stack (DOTS) framework. You can transition a project from one solution to the other, and they can run simultaneously. They are data compatible and let you use Unity’s powerful tools and workflows.
Fast. Light. Stateless. Customizable. That's the mantra behind our new Unity Physics solution.
Built on top of the Unity C# DOTS framework, it is network-ready, completely customizable, and built for performance out of the box. Whether you're building the next mobile hit or a new networked multiplayer console experience, Unity Physics leverages the Burst compiler and Job system to scale across a range of hardware.
Unity Physics is currently in Preview release, available via the Package Manager, and compatible with Unity 2019.1 and later versions.
The gold standard in physics for AAA games is now integrated into Unity. Whether you're a veteran developer familiar with the Havok middleware offering, or an indie developer just cutting their teeth in the industry, Havok physics provides a robust, stable, stateful simulation framework to suit your production needs.
This solution is integrated using the same C# DOTS framework as Unity Physics, leveraging the same data layout, tools, and workflows. It is backed by the closed source, proprietary Havok Physics engine that is written in C++ allowing you to handle even the most complex physics scenarios.
The Havok Physics package will be available later this summer.
Announcing Unity and Havok Physics for DOTS
We’ve partnered with Havok to build a next-generation physics system for Unity. Find out more details on what we’ve been collaborating on.
Announcing Unity and Havok Physics for DOTS | Unity at GDC 2019 Keynote
At GDC 2019 we announced that we were working in partnership with Havok to build a complete physics solution for DOTS-based projects in Unity. Watch Joachim Ante (CTO and Founder, Unity) and Oliver Strunk (Havok) present the solutions.
To help you get started, this repository of examples demonstrates how to take advantage of Physics in DOTS. Unity Physics samples are now included in our Entity Component System samples on GitHub.
See documentation here.
Havok’s Rory Mullane talks Physics at GDC
Follow the journey of the AAA physics engine from C++ to the land of C# and the Data-Oriented Technology Stack (DOTS). Learn about the architecture and features now available in Unity Physics, see it in action, and discover how Unity Physics and Havok Physics can work together to maximize dynamism in your games.