Pin down more of the logic for flight control.
This commit is contained in:
parent
5b9da6f0f1
commit
34ddc42b37
5 changed files with 78 additions and 17 deletions
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).
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue