mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-27 12:39:49 +01:00
fix: no propogation on hull
This commit is contained in:
1 parent
383196bdd3
commit
2e9388d3c7
1 file changed
+5
@@ -120,9 +120,14 @@ export const TankModel = memo(() => {
|
|||||||
|
|
||||||
if (!isVisible) return null;
|
if (!isVisible) return null;
|
||||||
|
|
||||||
|
function onPointerDown(event: ThreeEvent<PointerEvent>) {
|
||||||
|
event.stopPropagation();
|
||||||
|
}
|
||||||
|
|
||||||
return jsxTree(node, {
|
return jsxTree(node, {
|
||||||
castShadow: true,
|
castShadow: true,
|
||||||
receiveShadow: true,
|
receiveShadow: true,
|
||||||
|
onPointerDown,
|
||||||
});
|
});
|
||||||
})}
|
})}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user