Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
drcmda committed Sep 19, 2023
1 parent ea205fc commit 094a0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -853,8 +853,8 @@ function Loop() {
useFrame((state, delta) => {
// Set the current position along the curve, you can increment indiscriminately for a loop
motion.current += delta
// You can define your own lookAt (if no focus was given to MotionPathControls)
motion.object.lookAt(1, 2, 3)
// Look ahead on the curve
motion.object.lookAt(motion.next)
})
}

Expand Down

1 comment on commit 094a0a5

@vercel
Copy link

@vercel vercel bot commented on 094a0a5 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.