mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +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 (
|
||||
<>
|
||||
<mesh {...props} renderOrder={0}>
|
||||
@@ -81,8 +79,7 @@ export function ArmorMesh({
|
||||
canSplash: { value: canSplash(shell.type) },
|
||||
thickness: { value: thickness },
|
||||
penetration: {
|
||||
// value: resolveNearPenetration(shell.penetration),
|
||||
value: 0,
|
||||
value: resolveNearPenetration(shell.penetration),
|
||||
},
|
||||
caliber: { value: shell.caliber },
|
||||
ricochetAngle: { value: degToRad(shell.ricochet ?? 90) },
|
||||
|
||||
Reference in new issue
Block a user