Skip to content

Commit

Permalink
fix car animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed Nov 5, 2023
1 parent fa8a2c0 commit 07b1c40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aframe-streetmix-parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ function createDriveLaneElement (variantList, positionX, segmentWidthInMeters, s
let [lineVariant, direction, carType] = variantList;
if (variantList.length === 2) {
carType = direction;
direction = lineVariant;
}

const rotationVariants = {
Expand Down

0 comments on commit 07b1c40

Please sign in to comment.