Skip to content

Commit

Permalink
fix ping pong example
Browse files Browse the repository at this point in the history
  • Loading branch information
bbohlender committed Jul 25, 2024
1 parent 71a94d3 commit 0735728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pingpong/src/Hand.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function Paddle({ handedness }) {
const ref = useRef()
const model = useRef()
const { count } = useSnapshot(state)
const { nodes, materials } = useGLTF('/pingpong.glb')
const { nodes, materials } = useGLTF('pingpong.glb')
const contactForce = useCallback((payload) => {
state.api.pong(payload.totalForceMagnitude * 1300)
}, [])
Expand Down

0 comments on commit 0735728

Please sign in to comment.