hcmetal Posted September 29, 2018 Share Posted September 29, 2018 Hello guys, More questions regarding using Babylon with React. How do I use pep.js for Babylon in React? I understand that pep.js enable pointer events on touch devices, and without it the drag, pinch and other touch interactions won't work. I already 'npm i pepjs'. What is the next step? Where should I import it or use it? The basics are done following the doc: https://doc.babylonjs.com/resources/babylonjs_and_reactjs Maybe I also try calling our React Master @brianzinn Thanks a lot! PS: There is a solved issue regarding loading assets with create-react-app if anyone is interested: Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.