-
Notifications
You must be signed in to change notification settings - Fork 0
Gravity controller
slava_110 edited this page May 4, 2020
·
2 revisions
Component name: gravitycontroller
Warning: Gravity controller should be placed on station. Otherwise you will get error not_on_station everywhere!
-
currentGravity():number
Get current gravity multipiler.
Returns:
Current gravity multipiler,null, <reason>if something went wrong -
setTargetGravity(targetGravity: number)
Set target station altitude
Parameters:
targetGravity- target gravity Returns:
trueif gravity set successfully,false, <reason>if something went wrong