So I made this basic script to test power of 0.
#pragma strict
function Start () {
var i = 2;
var b = 4;
var a = i-b;
print((i-b)^0);
print(a^0);
}
but it’s outputing
-2
and
-2
when mathimaticly it should be
1
and
1 maybe -1 if it sees a as -2 vs (-2)
which hopefully it does a = -2, so you can get a negative value vs always positives.