fix: no propogation on hull

This commit is contained in:
TrèsAbhi committed 2024-02-23 15:52:09 -06:00
1 parent 383196bdd3
commit 2e9388d3c7
1 file changed
+5
@@ -120,9 +120,14 @@ export const TankModel = memo(() => {
if (!isVisible) return null;
function onPointerDown(event: ThreeEvent<PointerEvent>) {
event.stopPropagation();
}
return jsxTree(node, {
castShadow: true,
receiveShadow: true,
onPointerDown,
});
})}