<?xml version="1.0" ?>
<scene AmbientColor="0.7,0.7,0.7"
	FullName="07 - Updraft"
	formatVersion="1.0">
	<BoundingBox MaxCorner="72.6656,92.6627,20"
		MinCorner="-78.952,-48.3454,-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="20"
			NumberOfChains="1"
			TrailLength="50"
			UseColours="true"
			UseTextureCoords="true">
			<Chain ColorChange="0.1, 0.1, 0.1, 0.1"
				Index="0"
				InitialColor="1.0, 0.8, 0"
				InitialWidth="4"
				WidthChange="0.5" />
		</Trail>
	</ForceFieldVisualization>
	<GroundLevel Value="300" />
	<Message>Air moving up can lift the canopy up. Use your brakes to slow down, so you can stay longer in the region of the updraft, which will let you gain altitude. Apply 50% brakes input as you enter the updraft region. Notice what happens if you add too much brakes before the updraft.</Message>
	<Preset>
		<Camera Pos="-3.32,32.9139,113.12"
			Type="camera_script1" />
		<Jumper Create="1"
			Position="-47.78,32.4643,0" />
		<Wind Enabled="true">
			<Region>
				<Description>Updraft.</Description>
				<Function>-- CONSTANT_FUNCTION --
function CalculateForce()
  -- Direction of the wind depends on the position of the Radius1
  Direction = Radius1Pos - FieldCenter;
  -- Make it a direction 
  Direction:normalize();
  -- Strength of the field depends on the Radius1
  return Direction * Radius1 * 0.1;
end
function Update()
	-- Does not return anything
end</Function>
				<Radius Name="1"
					Position="16.8332,103.972,0">Direction and strength of the wind</Radius>
				<Radius Name="2"
					Position="6.8851,18.2887,0">Not used</Radius>
				<Radius Name="3"
					Position="7.57388,-210.003,0">Not used</Radius>
				<Shape Orientation="1,0,0,0"
					Position="16.8332,18.9723,0"
					Size="18.6679,149.338,20" />
			</Region>
		</Wind>
		<Info Name="Configuration" />
		<Info Name="Drop zone name">07 - Updraft</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="41.065,33.5162,0" />
</scene>
