chore: interpolate scale

This commit is contained in:
cha0s 2024-09-06 21:20:40 -05:00
parent 503a7d2514
commit 2e7d1af189

View File

@ -88,6 +88,16 @@ onmessage = async (event) => {
properties: ['x', 'y'],
});
}
if (
['Sprite'].includes(componentName)
&& to[entityId]?.[componentName]
) {
tracking.push({
entityId,
componentName,
properties: ['alpha', 'scaleX', 'scaleY'],
});
}
}
}
authoritative.push({