Model Cockpit View: Difference between revisions

Jump to navigation Jump to search
→‎Changing the view point: The view point can be moved at runtime using RMB+MMB-drag.
No edit summary
(→‎Changing the view point: The view point can be moved at runtime using RMB+MMB-drag.)
Line 38: Line 38:


= Changing the view point =
= Changing the view point =
By default, the view point will be at (0,0,0), so the view point will be exactly on the bottom for many models. Though this might be useful for analysis purposes, a raised view point is more interesting. The view point can be changed by adding the following code to the addons main.nas file:
By default, the view point will be at (0,0,0), so the view point will be exactly on the bottom for many models.
The viewpoint can be moved up/down/left/right at runtime by pressing RMB+MMB (right and middle mouse buttons) and dragging. Holding control too makes it move forward/aft/left/right instead. The offset so set will apply to all models viewed (i.e. it doesn't change as you switch the model the view follows).
 
Though this might be useful for analysis purposes, a raised view point is more interesting. The view point can be changed by adding the following code to the addons main.nas file:


<syntaxhighlight lang="xml">
<syntaxhighlight lang="xml">
789

edits

Navigation menu