Bitte nach 3Tagen Verzweiflung, um Hilfe

tackleberry
Posts: 106
Joined: Sat Aug 18, 2012 1:34 pm

Bitte nach 3Tagen Verzweiflung, um Hilfe

Post by tackleberry »

Guten Morgen, ich sitze jetzt schon den dritten Tag an meinem Modell und komme nicht weiter.
Mein Problem ist, ich bekomme keine collision an den Ausleger meines "Krans". Ich habe schon etliche Seiten im Netz durchforstet aber nichts gefunden was wirklich hilft.
Ich möchte die animationen über den Standart laufen lassen, moving tools/parts.
Hier mal etwas aus meinen xml moddesk und GE.
Ihr seit doch alle so erfahren hier, ich komm echt nicht weiter, hab das Gefühl ich dreh mich im kreis.

Vielen Dank schon mal. LG

Code: Select all

	<!--Kabine-->

    <movingTools>
        <movingTool index="1>2|2" componentJointIndex="1" anchorActor="0" rotSpeed="25" speedFactor="0.8" rotAcceleration="400" rotMax="125" rotMin="-125" rotationAxis="2" axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_TOOL" invertMouseAxis="true">
           <dependentPart index="1>2|2|4" /> 
        </movingTool>	

    <!--Arm1-->		
        
        <movingTool index="1>2|2|3" componentJointIndex="1" rotSpeed="17.5" speedFactor="0.8" rotAcceleration="200" rotMax="50" rotMin="0" axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseAxis="AXIS_FRONTLOADER_ARM" invertMouseAxis="true">
            <dependentPart index="1>2|2|3|5" /> 			
        </movingTool>
		
    <!--Arm2-->
		
        <movingTool index="1>2|2|3|0" componentJointIndex="6" rotSpeed="17.5" speedFactor="0.8" rotAcceleration="200" rotMax="90" rotMin="-20" axis="AXIS_TELEHANDLER_INNER_ARM" invertAxis="true" mouseAxis="AXIS_TELEHANDLER_INNER_ARM" invertMouseAxis="true">
            <!-- hydraulic low -->
            <dependentPart index="1>2|2|3|1" />			
        </movingTool>
		
       <movingTool index="1>2|2|3|0|4" componentJointIndex="1" anchorActor="0" rotSpeed="20" speedFactor="0.8" rotAcceleration="400" rotMax="-20" rotMin="-90" axis="AXIS_TELEHANDLER_INNER_ARM" invertAxis="true" mouseAxis="AXIS_TELEHANDLER_INNER_ARM">		
        </movingTool>		
    </movingTools>

    <movingParts>
        <!-- hydraulic low -->	
        <movingPart index="1>2|2|3|5" referencePoint="1>2|2|4" referenceFrame="1>2|2|3|4">
            <translatingPart index="1>2|2|3|5|0" />
        </movingPart>
        <!-- hydraulic low -->
        <movingPart index="1>2|2|3|1" referencePoint="1>2|2|3|0|0" referenceFrame="1>2|2|3|3">
            <translatingPart index="1>2|2|3|1|0" /> 
        </movingPart>				
		
    </movingParts>

    <components count="7">
        <component1 centerOfMass="0 0 0" solverIterationCount="1" />
        <component2 centerOfMass="0 0 0" solverIterationCount="1" />
        <component3 centerOfMass="0 0 0" solverIterationCount="190" />
        <component4 centerOfMass="0 0 0" solverIterationCount="190" />
        <component5 centerOfMass="0 0 0" solverIterationCount="190" />
        <component6 centerOfMass="0 0 0" solverIterationCount="190" />				
        <component7 centerOfMass="0 0 0" solverIterationCount="190" />				
		
                <joint component1="0" component2="1" index="0>9" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="1" component2="2" index="1>2" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="1" component2="3" index="1>2" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="4" index="0>4" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
		<joint component1="0" component2="5" index="0>4" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>	
		<joint component1="1" component2="6" index="1>2|2|3|0|1" rotLimit="10 0 0" transLimit="0 0 0"/>			
    </components>
UND AUS DER MODDESC

Code: Select all

	<vehicleTypes>
		<type name="Test" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
			<specialization name="motorized" />
			<specialization name="steerable" />
			<specialization name="cylindered" />
			<specialization name="articulatedAxis" />
			<specialization name="hirable" />
			<specialization name="aiTractor" />
			<specialization name="honk" />
		</type>
http://abload.de/image.php?img=1glkot.jpg
tackleberry
Posts: 106
Joined: Sat Aug 18, 2012 1:34 pm

Re: Bitte nach 3Tagen Verzweiflung, um Hilfe

Post by tackleberry »

Ich habe jetzt etwas Bewegung in die Componente 6> bekommen.
Und zwar habe ich jetzt den comonentJointIndex unter "arm2" von "6" auf "5" geändert und siehe da die collision bewegt sich schon mal auf und ab, wenn dich den Arm 2 bewege.
Mal zur Erklärung: Es handelt sich um den Ponsse Scorpion. Daher hat er eine drehbare Kabine, darin ist der arm1 und da wiederum ist der arm2 drin. Und an dem arm2 möchte ich ein Agregat fest verbauen, welches als seperate comonente in meinem Fall, 6> ist.

Vieleicht kann jetzt der eine oder andere was mit anfangen.
Wenn noch Angaben fehlen, bitte posten
Post Reply