#Error code makes no sense
1 messages ยท Page 1 of 1 (latest)
(l.186) private float RotateHip(float hipYaw, float hypeAngleYaw) {
var out = hipYaw;
var out2 = hypeAngleYaw;
var out1b = 0f;
var out2b = 0f;
if ((out - out2) > 180) out1b = -(360 - (out));
else out1b = out;
if ((out2 - out) > 180) out2b = -(360 - (out2));
else out2b = out2;
return out2b - out1b;
}
you think we memorize those error numbers? ๐
Assets\Scripts\LegController.cs(187,11): error CS1002: ; expected
Assets\Scripts\LegController.cs(187,11): error CS1513: } expected
Assets\Scripts\LegController.cs(187,15): error CS1525: Invalid expression term '='
which line is that?
i wasn't done sending everything
look at the top
top line is 186
the rest should be clear
out is a reserved keyword and cannot be used as a variable name.
you shouldn't use out for variable name
Error code makes no sense
oh bruh
yes thanks
makes sense
It even colors out as a keyword in the code...
not in my ide
yeah, I wouldn't have noticed that without that
You're reading Discord in an IDE?
lol
Most IDEs will color keywords differently
yeah yeah i see it there but in my ide (atom) it doesnt get marked
Unless you use Notepad it should be visible
Does Atom even support the full C# features
Code completions, errors underlined in the code directly, quick actions etc.
it doesnt but i still use it because it feels the best for me
even tho vsc is better in many ways
atleast for programming in c#
aight okay thanks yall @here for your quick help
ig @here didn't do anything
i know i still used it
You gotta add ;, }, and don't use =
I think