|
|
@@ -195,6 +195,7 @@ namespace TechbloxModdingAPI |
|
|
|
if (value.y < 4e-5) value.y = uscale; |
|
|
|
if (value.z < 4e-5) value.z = uscale; |
|
|
|
BlockEngine.GetBlockInfo<ScalingEntityStruct>(this).scale = value; |
|
|
|
BlockEngine.GetBlockInfo<GridScaleStruct>(this).gridScale = value - (int3) value + 1; |
|
|
|
if (!Exists) return; //UpdateCollision needs the block to exist |
|
|
|
ScalingEngine.UpdateCollision(Id); |
|
|
|
BlockEngine.UpdateDisplayedBlock(Id); |
|
|
|