<?xml version="1.0" encoding="utf-8"?>
<!--Object Data-->
<Object>
	<Name>GunPickup</Name>
	<Components>
    <MeshComponent>
      <Mesh>new_gun_pickup.x</Mesh>
      <Material>ColorCelShader.txt</Material>
      <Texture>obj_can_speed.png</Texture>
      <Paintable>false</Paintable>
      <Radius value ="20" ></Radius>
      <Color alpha="255" red="255" green="255" blue="255"></Color>
      <PaintScale x="7" y="7"></PaintScale>
    </MeshComponent>
		<StdPositionComponent>
		</StdPositionComponent>
		<StdCollisionComponent>
			<CollisionType>TRIGGER</CollisionType>
			<CollidesWith>
				<CollisionType>PLAYER</CollisionType>
			</CollidesWith>
      <GhostCollisionEnabled>true</GhostCollisionEnabled>
      <BoundingBundle>
				<Type>VOLUME_BUNDLE</Type>`
				<AABB>
					<BoundingID>GUN_PICKUP</BoundingID>
					<Origin>
						<x value="0.0"></x>
						<y value="0.0"></y>
						<z value="0.0"></z>
					</Origin>
					<HalfWidth value="1.5"></HalfWidth>
					<HalfHeight value="1.5"></HalfHeight>
					<HalfDepth value="1.5"></HalfDepth>
					<Margin value="0.0"></Margin>
				</AABB>
				<BoundingArray>
					<Sphere>
						<BoundingID>GUN_PICKUP</BoundingID>
						<Origin>
							<x value="0.0"></x>
							<y value="0.0"></y>
							<z value="0.0"></z>
						</Origin>
						<Radius value="20.0"></Radius>
					</Sphere>
				</BoundingArray>
			</BoundingBundle>
      <BoundingTransformProperties>
        <ForceUpdate>true</ForceUpdate>
      </BoundingTransformProperties>
		</StdCollisionComponent>
    <AIComponent>
      <Behavior>
        <Type>StateMachineBehavior</Type>
        <StateMachine>
          <Name>HoverFSM</Name>
          <StartingState>Init</StartingState>
        </StateMachine>
        <StateMachine>
          <Name>ConstantRotatorFSM</Name>
          <StartingState>ConstantRotate</StartingState>
        </StateMachine>
      </Behavior>
    </AIComponent>
	</Components>
</Object>
