Hey guys ![Smile :) :)]()
I have somewhat of a problem scripting...
I want to have the natural gravity as an Integer for further calculations, but the problem is I am not able to find a way to use the result of GetNaturalGravity()
I can't even add .Length() as mentioned in some posts...
Which shows me this error
Natural Gravity as an Integer

I have somewhat of a problem scripting...
I want to have the natural gravity as an Integer for further calculations, but the problem is I am not able to find a way to use the result of GetNaturalGravity()
I can't even add .Length() as mentioned in some posts...
Code:
IMyRemoteControl rc = GridTerminalSystem.GetBlockWithName("Remote Control") as IMyRemoteControl;
VRageMath.Vector3D gravity = rc.GetNaturalGravity().Length();