feat: add blc params in exporter. fix bme.

- add ballance params section and successive switch in virtools file exporter to allow user manually cancel sector group ensurance which give user a way to export component, not the whole level.
- add mirror matrix detection in bme creation. a mirror matrix will reverse triangle indice order. we need reverse it again when facing mirror matrix. this resolves the issue when applying term 3.
- use mirror, not rotation to create straight floor in bme which give a better looks in game.
This commit is contained in:
2024-04-07 10:35:06 +08:00
parent 3a1a0fb0f6
commit 07298fd21c
3 changed files with 64 additions and 18 deletions

View File

@ -47,7 +47,7 @@
"is_sink": "is_sink",
"is_ribbon": "False"
},
"transform": "move(length, 5, 0) @ rot(0, 0, 180)"
"transform": "move(0, 5, 0) @ scale(1, -1, 1)"
}
]
},