mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 18:57:03 +02:00
fix: static armor updates on thickness change
This commit is contained in:
1 parent
dde059b1f9
commit
588c0a809b
1 file changed
+2
@@ -168,6 +168,8 @@ export function StaticArmorSceneComponent({
|
||||
invalidate();
|
||||
}
|
||||
|
||||
handleHighlightArmor();
|
||||
|
||||
function handleTransitionEvent(event: QuicklimeEvent<number>) {
|
||||
surfaceMaterial.opacity = surfaceMaterial.userData.opacity0 * event.data;
|
||||
outlineMaterial.opacity = event.data;
|
||||
|
||||
Reference in new issue
Block a user