<?xml version="1.0" ?>
<scene AmbientColor="0.7,0.7,0.7"
	FullName="10 - Ready to fly"
	formatVersion="1.0">
	<BoundingBox MaxCorner="120.697,112.902,20"
		MinCorner="-119.052,-119.774,-20"
		Name="Boundaries">
		<Mesh Mesh="Boundary"
			Name="ForceFieldAccuracy/Boundary"
			Position="0, 0, 0"
			Rotation="0,0,0"
			Scale="5, 5, 5" />
	</BoundingBox>
	<ForceFieldVisualization TimeToLive="10,20">
		<Trail HeadHeight="5"
			HeadMaterial="ForceFieldAccuracy/LightRibbonTrailHead"
			HeadWidth="5"
			Material="ForceFieldAccuracy/LightRibbonTrail"
			MaxElements="50"
			NumberOfChains="1"
			TrailLength="40"
			UseColours="true"
			UseTextureCoords="true">
			<Chain ColorChange="0.2, 0.2, 0.2, 0.2"
				Index="0"
				InitialColor="1.0, 0.8, 0"
				InitialWidth="4"
				WidthChange="1" />
		</Trail>
	</ForceFieldVisualization>
	<GroundLevel Value="2000" />
	<Message>There are more things to explore: When are rear risers useful? How does different winds affect your canopy? How does the speed of the input change the trajectory of the canopy? These are just a few.

You are ready to start flying! Good-luck.</Message>
	<Plane1 Height="10000"
		Material="ForceFieldAccuracy/Sea"
		Normal="0, 1, 0"
		Position="0, -100, -3000"
		UpVector="1, 0, 0"
		Width="10000"
		uTile="1000"
		vTile="1000" />
	<Preset>
		<Camera Pos="-0.57201,5.92982,302.079"
			Type="camera_script1" />
		<Jumper Create="1"
			Position="-85.0824,33.9043,0" />
		<Wind Enabled="true">
			<Region>
				<Description>The closer a point is to the center of the field the stronger the strength of the wind.
				
Radius1 controls the area affected by this wind.
Radius2 controls the maximum strength of the wind</Description>
				<Description>The closer a point is to the center of the field the stronger the strength of the wind.
				
Radius1 controls the area affected by this wind.
Radius2 controls the maximum strength of the wind</Description>
				<Function>function CalculateForce()
    Distance = FieldCenter - Pos;
    Dir = FieldCenter - Pos;
    Dir:normalize();
    Dir = Dir * 1 / Distance:length();
    if(Distance:length() &gt; Radius1)then
        return CVector.ZERO;
    else
        return -Dir * Radius2;
    end
end

function Update()
end</Function>
				<Radius Name="1"
					Position="82.6834,9.56889,0">Changes radius of the affected area</Radius>
				<Radius Name="2"
					Position="-1.21776,104.29,0">Changes strength of the wind. Smaller radius = slower wind.</Radius>
				<Radius Name="3"
					Position="0.868932,5.42675,0">Not used</Radius>
				<Shape Orientation="1.0, 0.0, 0.0, 0.0"
					Position="0.693882,11.0898,0"
					Size="164.571,146.389,20" />
			</Region>
		</Wind>
		<Info Name="Configuration" />
		<Info Name="Drop zone name">07 - Updrafts</Info>
		<Info Name="Exit weight"
			Units="Mass">72.5748</Info>
		<Info Name="Canopy size"
			Units="Area">20.4387</Info>
		<Info Name="Input type">Student</Info>
		<Info Name="Drop zone elevation"
			Units="Distance">300</Info>
	</Preset>
	<SkyBox Distance="5000"
		Material="ForceFieldAccuracy/SkyBox/CloudySky" />
	<Stream File="../data/sounds/wind.mp3"
		Loop="true"
		Name="BgMusic" />
	<Target File="../data/ForceFieldAccuracy/models/PortalTarget.phs"
		Material="Target"
		Name="Target"
		Orientation="1, 0, 0, 0"
		Position="83.1788,-25.7728,0" />
	<nodes>
		<node id="0"
			name="LightNode"
			static="false">
			<light castShadows="false"
				name="EditorLight"
				type="point">
				<colourDiffuse b="1"
					g="1"
					r="1" />
				<colourSpecular b="1"
					g="1"
					r="1" />
				<position x="1000"
					y="1000"
					z="50" />
			</light>
			<position x="0"
				y="0"
				z="0" />
			<rotation qw="1"
				qx="0"
				qy="0"
				qz="0" />
			<scale x="1"
				y="1"
				z="1" />
		</node>
	</nodes>
</scene>
