Another havok in ts react project

Hello guys,
Im looking at the Physics character controller from version 8.
Im very interested on implementing this on my local project ,
I would like to include havok into a typescript / react project.
I just want to ask you some recommendations about how to start.
1 Is there any recommended tempate ? this from documentation seems very old.
2 About the package support, please provide some thoughts about using UMD/NPM or ES6/NPM , it is not clear for me witch one should I use.
3 Any other idea to avoid struggling with package imports , an so …
thanks !!!
Leandro

Use this - Babylon.js 8 + Vite 6 Typescript Template with Havok Physics

Use ES6

1 Like

How about React js?

Hello @mmhosein.hp , you can take my forked repo.
I did some minor changes and succesfully integrated reactjs.
You will find the original falling ball scene integrated on reactjs funcional component.
However I also tryied recreating the same falling ball scene using the “react-hook” but it does not work yet.
Leandro.

2 Likes

Hello Leandro , where is your repo?

You’ll find it here - GitHub - leostereo/havok at react-integration :slight_smile:

1 Like

Thank you @ labris