Open hichemfantar opened 1 month ago
three
@react-three/fiber
@react-three/drei
node
npm
yarn
Enabling Bvh on my scene and holding a ref to my ecctrl controlled character causes an error. related to https://github.com/pmndrs/ecctrl/issues/97
https://github.com/pmndrs/ecctrl/tree/main/example
<Canvas> <Bvh firstHitOnly> <Scene /> </Bvh> </Canvas>
i'm thinking maybe it's because drei is using an older version of three-mesh-bvh
three
version: three@0.165.0@react-three/fiber
version: @react-three/fiber@8.16.8@react-three/drei
version: @react-three/drei@9.107.0node
version: v18.18.2npm
(oryarn
) version: 9.8.1Problem description:
Enabling Bvh on my scene and holding a ref to my ecctrl controlled character causes an error. related to https://github.com/pmndrs/ecctrl/issues/97
Relevant code:
https://github.com/pmndrs/ecctrl/tree/main/example
Suggested solution:
i'm thinking maybe it's because drei is using an older version of three-mesh-bvh