cx20
1
If you download the sample with HavokPlugin in zip format, it will not work locally.

Uncaught (in promise) ReferenceError: HavokPhysics is not defined
at window.initFunction ((index):131:37)
at (index):146:9
I think you probably need to add the following line to your index.html.
<script src="https://cdn.babylonjs.com/havok/HavokPhysics_umd.js"></script>
Thanks for reporting! We’ll fix this shortly 
1 Like
cx20
4
BTW, I think that it is necessary to describe the initialization process of HK
in the migration document from V1.
The zip downloaded from Babylon.js Playground contains the below process, otherwise you need to add it yourself.
globalThis.HK = await HavokPhysics();
Oh, that’s a good point! We’re merging the Playground download fix add havok to download mode by RaananW · Pull Request #13764 · BabylonJS/Babylon.js (github.com) and we’ll update the docs too
2 Likes
Should be good in 15-20 minutes. just make sure to clear your cache to be sure 
1 Like