mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
feat: more thickness
This commit is contained in:
1 parent
7c6c0a2b81
commit
39a6e2c38e
1 file changed
+3
-1
@@ -22,7 +22,7 @@ export const SHOT_ICONS: Record<Shot['type'], ReactNode> = {
|
|||||||
penetration: <NominalPenetration width={24} height={24} />,
|
penetration: <NominalPenetration width={24} height={24} />,
|
||||||
};
|
};
|
||||||
|
|
||||||
const THICKNESS = 0.025;
|
const THICKNESS = 0.05;
|
||||||
const LENGTH = 2;
|
const LENGTH = 2;
|
||||||
|
|
||||||
export function ShotDisplay() {
|
export function ShotDisplay() {
|
||||||
@@ -131,6 +131,7 @@ export function ShotDisplay() {
|
|||||||
</Html>
|
</Html>
|
||||||
|
|
||||||
<mesh
|
<mesh
|
||||||
|
renderOrder={1}
|
||||||
position={[0, 0, LENGTH / 2]}
|
position={[0, 0, LENGTH / 2]}
|
||||||
rotation={[Math.PI / 2, 0, 0]}
|
rotation={[Math.PI / 2, 0, 0]}
|
||||||
ref={entryLine}
|
ref={entryLine}
|
||||||
@@ -147,6 +148,7 @@ export function ShotDisplay() {
|
|||||||
{shot.type === 'ricochet' && (
|
{shot.type === 'ricochet' && (
|
||||||
<group ref={exitWrapper}>
|
<group ref={exitWrapper}>
|
||||||
<mesh
|
<mesh
|
||||||
|
renderOrder={1}
|
||||||
position={[0, 0, LENGTH / 2]}
|
position={[0, 0, LENGTH / 2]}
|
||||||
rotation={[Math.PI / 2, 0, 0]}
|
rotation={[Math.PI / 2, 0, 0]}
|
||||||
ref={exitLine}
|
ref={exitLine}
|
||||||
|
|||||||
Reference in new issue
Block a user