Bots and Simulations > DNA - General

instructions I not know

(1/3) > >>

Welwordion:
What is .shflav  and .shang

PurpleYouko:
*.shflav returns the flavor of a shot that hits you. That is the value stored into .shoot to fire it.

*.shang returns the angle that the shot hit you relative to the absolute angle you are facing. So if a shot hits you from directly behind, *.shang will return 628

Griz:

--- Quote ---*.shang returns the angle that the shot hit you relative to the absolute angle you are facing. So if a shot hits you from directly behind, *.shang will return 628
--- End quote ---
???
why 628?
I have no idea why I question this other than my mind
equates 360 degrees with 2 radians, ie 6.28 ...
and 180 degrees (directly behind) with one ... ie 3.14
or is this 628 something completely different?

thanks ...

~griz~
not knowing enough yet to actually ask questions ...
so I thank you for your indulgence. ;)

Numsgil:
DB radians use 200 * 2 * pi to represent a full circle.

Why?  I dunno.  That's how it was when I got here.

PurpleYouko:
Always has been that way. No idea why. it just stuck

Navigation

[0] Message Index

[#] Next page

Go to full version