Search results

  1. O

    SDK Question [SOLVED] Landed state and surface interaction

    Hi everyone, I've been trying to implement a realistic center of mass simulation, that is that it moves as fuel levels change. Now a few problems have arisen: when I start the simulation in a landed state, it immediately jumps into active state. The same happens when I set the location with...
  2. O

    SDK Question 2D panel drawing

    Hi, I'm running into some trouble redrawing 2D panels. I tried to create a custom texture adapted to the viewport (1 surface pixel = 1 screen pixel). The surface is created like this: panel_surface = oapiCreateSurfaceEx(panel_surfaceWidth, panel_surfaceHeight, OAPISURFACE_SKETCHPAD...
  3. O

    API Question LKEY usage

    Hello everyone, I am trying to develop an addon and am having trouble with the correct usage of the OAPI_LKEYs. The idea is to have thrus vectoring independent of RCS or AF control. I tried: if (KEYDOWN(kstate, OAPI_LKEY_RCSPitchDown)) { // do stuff ... } but it doesn't seem to work...
Top