feat: tank armor position stateful

This commit is contained in:
TrèsAbhi committed 2024-01-10 13:22:55 -06:00
1 parent 9e0c4ddb9a
commit 6239a72bce
7 files changed
+140 -77

No files matched your search

+2 -1
View File
@@ -12,7 +12,8 @@ export function ArmorMesh(props: ArmorMeshProps) {
<mesh {...props} renderOrder={1}>
<meshBasicMaterial
transparent
opacity={Math.random() / 2}
// opacity={Math.random() / 2}
opacity={0.25}
color="red"
depthWrite={false}
/>