Skip to content

Commit

Permalink
up cyclist y position for bike-track
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Oct 19, 2023
1 parent b3731c0 commit 93fdb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ function createMicroMobilityElement (variantList, positionX, segmentType, length
}
const bikeLength = 2.03;
const positionZ = randomPosition(reusableObjectEl, 'z', length, bikeLength);
reusableObjectEl.setAttribute('position', positionX + ' 0 ' + positionZ);
reusableObjectEl.setAttribute('position', positionX + ' 0.2 ' + positionZ);
microMobilityParentEl.append(reusableObjectEl);

return microMobilityParentEl;
Expand Down

0 comments on commit 93fdb7c

Please sign in to comment.