From 0c88645aa8209efbd42fdf4fe670d5b3eca000d6 Mon Sep 17 00:00:00 2001 From: Laksh Jaisinghani <45281017+lakshjaisinghani@users.noreply.github.com> Date: Mon, 30 Oct 2023 23:34:03 +1100 Subject: [PATCH] [fix] updated incorrect function call in documentation (setAngVel -> setAngvel) (#546) --- packages/react-three-rapier/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-three-rapier/readme.md b/packages/react-three-rapier/readme.md index 9d859894..14f0eefb 100644 --- a/packages/react-three-rapier/readme.md +++ b/packages/react-three-rapier/readme.md @@ -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); } }, []);