mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02: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;
|
||||
|
||||
function onPointerDown(event: ThreeEvent<PointerEvent>) {
|
||||
event.stopPropagation();
|
||||
}
|
||||
|
||||
return jsxTree(node, {
|
||||
castShadow: true,
|
||||
receiveShadow: true,
|
||||
onPointerDown,
|
||||
});
|
||||
})}
|
||||
|
||||
|
||||
Reference in new issue
Block a user