There seems to be an issue with the ^ arithmetic operator in Littlefoot. It should raise a value to a power, but it appears to only add.
For example if I do this:
int val = 4 ^ 2;
The console shows 6, not 16.
The same thing happens with floats:
float val = 4.0 ^ 2.0;
log(int(val)); //Have to cast as an int as you can’t log a float.
The console once again shows 6.