How do I test if variable x is less than or more than a given value??
Does java recognise the operator < or > … I can’t find any reference to them in the unity manual … presumably one can test if variable “x” is less than or more than a given value … so how is it done??
??
//please tell me how I find out! … and then once knowing how do I set x to a new value?
if xspeed < 0.0 {
xspeed = 0.0;
}
this code returns the error … expecting " : " found " = "