<?xml version="2.0" encoding="utf-8" standalone="no"?>
<vehicle type="carFillable">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
   
	
    <storeData>
        <name>
			
			<en>Mountain Bike</en>
        </name>
        <functions>
            <function>Driving A Bike Allows You To Travel From A To B Without Consuming Fuel</function>
        </functions>
        <specs>
            <power>0.5</power>
        </specs>
        <image>icon.dds</image>
        <price>250</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>Lizard</brand>
        <category>cars</category>
    </storeData>
	
<base>
    <typeDesc>$l10n_typeDesc_car</typeDesc>
    <size width="2.5" length="5" />
    <filename>bike.i3d</filename>
	<components count="1">
        <component centerOfMass="0.00 0.63 0.0675" solverIterationCount="10" mass="25" />
    </components>
    <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
</base>
	
<wheels>
	<wheelConfigurations>	
		<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" > <!-- Standard rim street wheels -->	
			<wheels autoRotateBackSpeed="2.5">
			<wheel isLeft="true"  hasTireTracks="false" hasParticles="false" >
                <physics rotSpeed="70" repr="0>8|0" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.25" spring="20" damper="40" frictionScale="0" mass="0.6"  />
            </wheel>
			<wheel isLeft="false"  hasTireTracks="false" hasParticles="false" >
                <physics rotSpeed="70" repr="0>8|1" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.25" spring="20" damper="40" frictionScale="0" mass="0.6"  />
            </wheel>
			<wheel isLeft="true"  hasTireTracks="true" hasParticles="true" >
                <physics rotSpeed="70" repr="0>3|0" driveNode="0>3|0|1" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.25" spring="20" damper="40" frictionScale="2" mass="0.195"  />
            </wheel>
			<wheel isLeft="true"  hasTireTracks="true" hasParticles="true" >
                <physics rotSpeed="0" repr="0>0|0" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.3" spring="20" damper="40" frictionScale="2" mass="0.6"  />
            </wheel>
			<wheel isLeft="false"  hasTireTracks="false" hasParticles="false" >
                <physics rotSpeed="0" repr="0>0|1" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.3" spring="20" damper="40" frictionScale="0" mass="0.6"  />
            </wheel>
			<wheel isLeft="true"  hasTireTracks="false" hasParticles="true" >
                <physics rotSpeed="0" repr="0>0|2" radius="0.4" width="0.02" restLoad="0" initialCompression="0" suspTravel="0.3" spring="20" damper="40" frictionScale="0" mass="0.6"  />
            </wheel>
        </wheels>
	</wheelConfiguration>
		</wheelConfigurations>
		
		<ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="100" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4" />
        </ackermannSteeringConfigurations>
	</wheels>
		
<motorized>
        
	<differentialConfigurations>
            <differentialConfiguration>
                <differentials>
				    <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="1" wheelIndex2="2" />
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="3" wheelIndex2="4" />
					<differential torqueRatio="0.7" maxSpeedRatio="1.2" differentialIndex1="1" differentialIndex2="2" />
                </differentials>
            </differentialConfiguration>
    </differentialConfigurations>

    <motorConfigurations>
             <motorConfiguration>
                <motor torqueScale="3.38" minRpm="1000" maxRpm="8950" maxForwardSpeed="45" maxBackwardSpeed="25" brakeForce="1" lowBrakeForceScale="0.0001" rotInertia="0.0015">
                    <torque normRpm="0.5" torque="0.35"/>
                    <torque normRpm="0.5" torque="0.65"/>
                    <torque normRpm="0.7" torque="0.85"/>
                    <torque normRpm="0.4" torque="1"/>
                    <torque normRpm="0.75" torque="0.75"/>
                    <torque normRpm="1" torque="0.65"/>
                </motor>
                <transmission minForwardGearRatio="26" maxForwardGearRatio="36" minBackwardGearRatio="50" maxBackwardGearRatio="50" />
            </motorConfiguration>
        </motorConfigurations>
	
       

       <sounds externalSoundFile="sounds/bike.xml" />
    </motorized>
   
	
	<enterable isTabbable="true" >
        <enterReferenceNode node="0>"/>
        <exitPoint node="0>4"/>
        <cameras count="2">
            <camera node="0>5|2|0" rotatable="true" rotateNode="0>5|2" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="2" transMax="40" translation="0 0 5.5" rotation="-17.5 180 0">
            </camera>
            <camera node="0>5|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0" />
        </cameras>

        

        <characterNode node="0>6|0" cameraMinDistance="2.0" spineRotation="-90 0 90" >
            <target ikChain="rightFoot" targetNode="0>2|0|1" />
            <target ikChain="leftFoot"  targetNode="0>2|0|0" />
            <target ikChain="rightArm"  targetNode="0>3|0|0|0|0" poseId="wideFingers"/>
            <target ikChain="leftArm"   targetNode="0>3|0|0|0|1" poseId="wideFingers"/>
        </characterNode>
        
    </enterable>
	
	
	
  

    <washable dirtDuration="50" washDuration="1" workMultiplier="4"/>
   
  
	<speedRotatingParts>
        <speedRotatingPart node="0>3|0|1"  wheelIndex="1" wheelScale="0.5"/>
		<speedRotatingPart node="0>0|0"    wheelIndex="1" wheelScale="0.1"/>
		<speedRotatingPart node="0>2|0"    wheelIndex="1" wheelScale="0.2"/>
		<speedRotatingPart node="0>2|0|1"  wheelIndex="1" wheelScale="-0.2"/>
		<speedRotatingPart node="0>2|0|0"  wheelIndex="1" wheelScale="-0.2"/>
    </speedRotatingParts>

   <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" />
        </sounds>
        <steeringWheel node="0>9" indoorRotation="40" outdoorRotation="10" />
        
    </drivable>
   
   
	
</vehicle>
