12f5714b37
aircraft can plug a custom function. This function can access all internal variables of the ViewManager class. It can set me.{x,y,z}_offset, and also add offsets to me.{heading,pitch,roll}_offset. Example: dynamic_view.register_headshake(func { me.x_offset = rand() * 0.02; # Parkinson effect }); The advantage of this implementation is that it doesn't break MMB drag functionality, and that is can be frozen by mouse movements. |
||
---|---|---|
.. | ||
aircraft.nas | ||
atc-chatter.nas | ||
controls.nas | ||
debug.nas | ||
dynamic_view.nas | ||
fuel.nas | ||
globals.nas | ||
gui.nas | ||
lead_target.nas | ||
material.nas | ||
multiplayer.nas | ||
props.nas | ||
screen.nas | ||
track_target.nas | ||
tutorial.nas | ||
view.nas |