mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: oops, now it's correct
This commit is contained in:
1 parent
e724069cbd
commit
6f42e2835c
1 file changed
+1
-4
@@ -50,8 +50,6 @@ export function ArmorMesh({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(resolveNearPenetration(shell.penetration));
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<mesh {...props} renderOrder={0}>
|
<mesh {...props} renderOrder={0}>
|
||||||
@@ -81,8 +79,7 @@ export function ArmorMesh({
|
|||||||
canSplash: { value: canSplash(shell.type) },
|
canSplash: { value: canSplash(shell.type) },
|
||||||
thickness: { value: thickness },
|
thickness: { value: thickness },
|
||||||
penetration: {
|
penetration: {
|
||||||
// value: resolveNearPenetration(shell.penetration),
|
value: resolveNearPenetration(shell.penetration),
|
||||||
value: 0,
|
|
||||||
},
|
},
|
||||||
caliber: { value: shell.caliber },
|
caliber: { value: shell.caliber },
|
||||||
ricochetAngle: { value: degToRad(shell.ricochet ?? 90) },
|
ricochetAngle: { value: degToRad(shell.ricochet ?? 90) },
|
||||||
|
|||||||
Reference in new issue
Block a user