"Movable" front axle? - problem

Your forum for all discussions around Modding.
agro787
Posts: 19
Joined: Fri Feb 03, 2017 12:20 pm
Location: St. Cross Voivodeship, Poland
Contact:

"Movable" front axle? - problem

Post by agro787 »

Hi, if this thread isn't in the appropriate section, I'm sorry.
I've a problem with front axle, which was to be movable, but it really doesn't happen.
I'm attaching screenshots from game, screenshot from Scenegraph window in GE and fragment of xml.
Image Image Image

Code: Select all

    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="70" repr="1>0|0|0" rotMin="-27" rotMax="27" driveNode="1>0|0|0|0" forcePointRatio="0.2" restLoad="1.9" initialCompression="50" suspTravel="0.16" spring="28" damper="80" hasTireTracks="true" hasParticles="true" isLeft="false" fenderNode="1>0|0|0|1" mass="1.21"/>
        <wheel rotSpeed="70" repr="1>0|1|0" rotMin="-27" rotMax="27" driveNode="1>0|1|0|0" forcePointRatio="0.2" restLoad="1.9" initialCompression="50" suspTravel="0.16" spring="28" damper="80" hasTireTracks="true" hasParticles="true" isLeft="true" fenderNode="1>0|1|0|1" mass="1.21"/>
        <wheel rotSpeed="0" repr="0>2" restLoad="1.9" initialCompression="50" suspTravel="0.09" forcePointRatio="0.3" spring="45" damper="80" hasTireTracks="true" hasParticles="true" isLeft="false" mass="1.39"/>
        <wheel rotSpeed="0" repr="0>3" restLoad="1.9" initialCompression="50" suspTravel="0.09" forcePointRatio="0.3" spring="45" damper="80" hasTireTracks="true" hasParticles="true" isLeft="true" mass="1.39"/>
    </wheels>
(...)
	<components count="2">
        <component1 centerOfMass="0 0.87 0.1" solverIterationCount="15" />
        <component2 centerOfMass="0 0 0" solverIterationCount="25" />
        <joint component1="0" component2="1" index="0>43" rotLimit="0 0 10" transLimit="0 0 0" maxRotDriveForce="0 0 50" rotDriveRotation="- - 0" rotDriveSpring="0 0 75" rotDriveDamping="0 0 30" breakable="false"/>
    </components>
Transform "frontAxisRef" is assigned to path 0>43. The tractor is on a basic Giants' script.
Modder from the case. Now as Rusheer :)
User avatar
wildberry
Posts: 1824
Joined: Sun Oct 25, 2015 10:44 am
Location: State of Mind

Re: "Movable" front axle? - problem

Post by wildberry »

You need to create a frontAxisJoint TransformGroup in the main model's wheels' TG
The node of that TG you put in this part <joint component1="0" component2="1" index="NODE of frontAxisJoint TG"...
MC, aka Master of Cereals
Post Reply