mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
fix: ricochet penetration as a sphere
This commit is contained in:
1 parent
f2331261cf
commit
62cb2c7217
1 file changed
+1
-1
@@ -212,7 +212,7 @@ export function ShotDisplay() {
|
||||
|
||||
{shot.ricochet && (
|
||||
<mesh ref={ricochetCircle} position={[0, 0, secondLineLength]}>
|
||||
<torusGeometry args={[0.05, 0.0125, 4, 16]} />
|
||||
<icosahedronGeometry args={[0.05, 1]} />
|
||||
<meshBasicMaterial
|
||||
color={shot.ricochet.penetration ? 'green' : 'red'}
|
||||
depthTest={false}
|
||||
|
||||
Reference in new issue
Block a user