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)
I think you probably need to add the following line to your index.html.
Thanks for reporting! We’ll fix this shortly
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
Should be good in 15-20 minutes. just make sure to clear your cache to be sure