﻿<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="cart">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>Golf Cart</en>
        <de>Golfwagen</de>
    </name>
    <filename>data/vehicles/steerable/lizard/golfCart.i3d</filename>

    <size width="2.5" length="4"/>

    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="0" driveMode="1" repr="0" radius="0.22" deltaY="0.05" suspTravel="0.1" spring="55" damper="30" mass="0.5" />
        <wheel rotSpeed="0" driveMode="1" repr="1" radius="0.22" deltaY="0.05" suspTravel="0.1" spring="55" damper="30" mass="0.5" />
        <wheel rotSpeed="50" rotMax="20" rotMin="-20" driveMode="2" repr="2" radius="0.22" deltaY="0.05" suspTravel="0.1" spring="55" damper="30" mass="0.5" />
        <wheel rotSpeed="50" rotMax="20" rotMin="-20" driveMode="2" repr="3" radius="0.22" deltaY="0.05" suspTravel="0.1" spring="55" damper="30" mass="0.5" />
    </wheels>
    <motor minRpm="300" maxRpm="1800 3500 5000" brakeForce="20" forwardGearRatio="2.5" backwardGearRatio="2.1" differentialRatio="6" rpmFadeOutRange="20">
        <torque rpm="5000" torque="5"/>
		<backwardTorque rpm="3000" torque="4.5"/>
		<backwardTorque rpm="3200" torque="0"/>
    </motor>
	<accelerationSpeed maxAcceleration="0.4" deceleration="0.6" backwardDeceleration="0.7" />
    <speedRotScale scale="200" offset="0.7" />

    <fuelCapacity>30</fuelCapacity>
    <fuelUsage>0</fuelUsage>
    <downForce>3</downForce>

    <motorStartSound file="data/vehicles/steerable/lizard/golfCart_start.wav" pitchOffset="1" volume="1" />
    <motorSound file="data/vehicles/steerable/lizard/golfCart_running.wav" pitchOffset="1" pitchScale="0.0027" pitchMax="1.65" volume="1" />
    <motorStopSound file="data/vehicles/steerable/lizard/golfCart_stop.wav" pitchOffset="1" />
	
    <lights>
        <light realLight="0>9" decoration="0>10" lightType="0"/>
    </lights>

    <cameras count="2">
        <camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="18" />
        <camera2 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" isInside="true" />
    </cameras>

    <steering index="7|0" rotationSpeed="4"/>

    <enterReferenceNode index="0>" />

    <exitPoint index="6" />

    <characterNode index="8" cameraMinDistance="1.5" />

    <components count="1">
        <component1 centerOfMass="0 0 -0.15" solverIterationCount="10" />
    </components>
    
    <schemaOverlay file="data/vehicles/schemas/vehicleSchema.png" fileSelected="data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    
</vehicle>
