New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r3f look at camera implementation. #1292
Comments
@Ppint Hi! From my perspective lookAt works as intended. Can you elaborate on what's your problem? Please note that the dependencies in the example are very old. Try upgrading three, three-vrm, react and r3f to newer versions. You can find migration guide for three-vrm at https://github.com/pixiv/three-vrm/blob/dev/docs/migration-guide-1.0.md |
now i got it working. but useEffect is causing lag and freeze. any idea how to fix it? |
also vrm hair would be jerking randomly |
@Ppint Thanks for the replies. However, I don't notice any particular performance issues in the example on my machine. Can you make sure you have hardware acceleration turned on? It'll be very helpful if you can share your machine spec and include some video captures of the issue. |
how to make vrm look at camera when using r3f? assume that I make vrm into a separate components. I tried the one in docs and it doesn't work
I followed and adapt from this code pen. https://codesandbox.io/s/react-three-fiber-vrm-9ryxq?file=/src/index.tsx
The text was updated successfully, but these errors were encountered: