546
edits
m (moved Howto: Set view points to Howto:Set view points: Robot: Moved page) |
m (→Custom views: added meaning of "internal" flag) |
||
| Line 45: | Line 45: | ||
** '''lookat''' your "eyes" fly around a point in space, while remaining focused at that point. Used for external views of the aircraft like helicopter view. | ** '''lookat''' your "eyes" fly around a point in space, while remaining focused at that point. Used for external views of the aircraft like helicopter view. | ||
** '''lookfrom''' most resemblance to the human head (you look around from a fixed point). Used for pilot view. | ** '''lookfrom''' most resemblance to the human head (you look around from a fixed point). Used for pilot view. | ||
* '''internal''' | * '''internal''' if set to "true" indicates the view is from inside the aircraft, otherwise from outside of the aircraft | ||
* '''config''' Open the aircraft in a [[Modeling - Getting Started#3D Software|3D editor]] to find these coordinates, or open the [[property browser]] in sim and edit the <tt>/sim/current-view properties</tt> for live feedback. | * '''config''' Open the aircraft in a [[Modeling - Getting Started#3D Software|3D editor]] to find these coordinates, or open the [[property browser]] in sim and edit the <tt>/sim/current-view properties</tt> for live feedback. | ||
** '''?-offset-m''' the offset from the origin of your aircraft, in meters. | ** '''?-offset-m''' the offset from the origin of your aircraft, in meters. | ||
| Line 59: | Line 59: | ||
*** '''x-offset-threshold-deg''' | *** '''x-offset-threshold-deg''' | ||
Additionally, you can place the following line after the last </view> tag. It is used to define the distance to the aircraft of the default views: chase, helicopter | Additionally, you can place the following line after the last </view> tag. It is used to define the distance to the aircraft of the default views: chase, helicopter | ||
<chase-distance-m type="double" archive="y">-90.0</chase-distance-m> | <chase-distance-m type="double" archive="y">-90.0</chase-distance-m> | ||
| Line 65: | Line 65: | ||
Each view point must have an unique id/number. If no number is set, numbers are assigned from 0 to n in order of existance in the .xml file. Numbers can be overriden by using the following line (where 1 can be any number): | Each view point must have an unique id/number. If no number is set, numbers are assigned from 0 to n in order of existance in the .xml file. Numbers can be overriden by using the following line (where 1 can be any number): | ||
<view n="1"> | <view n="1"> | ||
Since there are various default view points (pilot, helicopter, tower etc.), it is advised to assign numbers starting at 100, when custom views are created. This will make sure that they won't | Since there are various default view points (pilot, helicopter, tower etc.), it is advised to assign numbers starting at 100, when custom views are created. This will make sure that they won't interfere with any default views that may be added in future. | ||
Note that the view numbers do have impact on the order of views when skipping through them in sim with the v/V keys. | Note that the view numbers do have impact on the order of views when skipping through them in sim with the v/V keys. | ||
edits