Pin down more of the logic for flight control.
This commit is contained in:
6
lib/navigation.ks
Normal file
6
lib/navigation.ks
Normal file
@ -0,0 +1,6 @@
|
||||
@lazyglobal off.
|
||||
|
||||
function GetPitch {
|
||||
parameter v is SHIP:FACING:FOREVECTOR.
|
||||
return 90 - vectorangle(SHIP:UP:FOREVECTOR, v).
|
||||
}
|
Reference in New Issue
Block a user