Skip to content

Commit 2d2c311

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents e11b88c + 925aebc commit 2d2c311

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ const Cursor3D = withProjectedPosition()(({positionProjected, projectionResult})
330330
return (
331331
<ARKit.Sphere
332332
position={positionProjected}
333+
transition={{duration: 0.1}}
333334
shape={{
334335
radius: 0.1
335336
}}
@@ -339,7 +340,9 @@ const Cursor3D = withProjectedPosition()(({positionProjected, projectionResult})
339340
340341
```
341342

342-
Now you can your 3D cursor like this:
343+
It's recommended that you specify a transition duration (0.1s works nice), as the position gets updated rapidly, but slightly throttled.
344+
345+
Now you can use your 3D cursor like this:
343346

344347
##### Attach to a given detected horizontal plane
345348

0 commit comments

Comments
 (0)