mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +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 && (
|
{shot.ricochet && (
|
||||||
<mesh ref={ricochetCircle} position={[0, 0, secondLineLength]}>
|
<mesh ref={ricochetCircle} position={[0, 0, secondLineLength]}>
|
||||||
<torusGeometry args={[0.05, 0.0125, 4, 16]} />
|
<icosahedronGeometry args={[0.05, 1]} />
|
||||||
<meshBasicMaterial
|
<meshBasicMaterial
|
||||||
color={shot.ricochet.penetration ? 'green' : 'red'}
|
color={shot.ricochet.penetration ? 'green' : 'red'}
|
||||||
depthTest={false}
|
depthTest={false}
|
||||||
|
|||||||
Reference in new issue
Block a user