3D physics-based lanyard simulation with configurable gravity and appearance
Props
gravityOptionalGravity strength for physics simulation
Default:
-9.81positionOptionalInitial camera position (x,y,z)
Default:
"0,5,10"Usage
<LanyardWrapper gravity={-9.81} position="0,5,10" />Category
3DLibrary
Flowcode Interactive 3D
interactiveDependencies
@react-three/fiber@react-three/drei@react-three/rapierthree
File Path
src/libraries/interactive/components/Lanyard.webflow.tsx