Skip to content

Commit

Permalink
[fix] updated incorrect function call in documentation (setAngVel -> …
Browse files Browse the repository at this point in the history
…setAngvel) (#546)
  • Loading branch information
lakshjaisinghani authored Oct 30, 2023
1 parent f3a5de5 commit 0c88645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-three-rapier/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ const Scene = () => {
// While Rapier's return types need conversion, setting values can be done directly with Three.js types
rigidBody.current.setTranslation(position, true);
rigidBody.current.setRotation(quaternion, true);
rigidBody.current.setAngVel({ x: 0, y: 2, z: 0 }, true);
rigidBody.current.setAngvel({ x: 0, y: 2, z: 0 }, true);
}
}, []);

Expand Down

0 comments on commit 0c88645

Please sign in to comment.