Discussions
App crashes when I use position attribute
29 days ago by alwin
As seen in the code below, I'm trying to draw a Polyline around the anchor but the app crashes when I use the position attribute but it works fine if I remove it
<ViroPolyline
position={anchorFound.position}
rotation={anchorFound.rotation}
points={createOutlinePoints(anchorFound)}
thickness={0.01}
/// materials={['']}
/>