Discussions

Ask a Question
Back to All

App crashes when I use position attribute

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={['']}
      />