Category | Farming Simulator 19 |
Created | 08.10.2020 17:22 |
Afmodding (1DAFUL) | 08.10.2020 17:22 |
---|---|
Hello, After a week of unsuccessful attempts, please help. I work on an off road vehicle. I have a problem with the axles and wheels. In the game, the mod works great but the wheels don't stay on the axle. That is, the wheels roll, turn, and spring in the right place, but the axles do not follow the movement of the wheels. I built the mode based on the New Holland T5 found in the games. The position and direction of all transformation objects are the same according to the T5 model, but they do not work properly. All object's properties the same as in the T5. <vehicle type="carFillable"> The front axle is component1. <components count="2"> <component centerOfMass="0 0.3 0" solverIterationCount="10" mass="1243"/> <component centerOfMass="0 0 0" solverIterationCount="20" mass="800"/> <joint component1="1" component2="2" node="frontAxisComponentJoint" rotLimit="0 0 5" rotLimitSpring="0 0 75" rotLimitDamping="0 0 40" maxRotDriveForce="0 0 80" rotDriveRotation="0 0 0" rotDriveSpring="0 0 40" rotDriveDamping="0 0 20" breakable="false" /> </components> Here comes the wheel configuration. <wheels> <wheelConfigurations> <wheelConfiguration name="$l10n_configuration_valueDefault" price="0"> <wheels autoRotateBackSpeed="2.5"> <wheel filename="wheels/wheels.xml" isLeft="true" hasTireTracks="true" hasParticles="true" > <physics rotSpeed="1" restLoad="0.9" repr="wheelFrontLeftAxis" forcePointRatio="0.5" driveNode="wheelFrontLeft" initialCompression="40" suspTravel="0.18" spring="8" damper="3"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="false" hasTireTracks="true" hasParticles="true" > <physics rotSpeed="1" restLoad="0.9" repr="wheelFrontRightAxis" forcePointRatio="0.5" driveNode="wheelFrontRight" initialCompression="40" suspTravel="0.18" spring="8" damper="3"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="true" hasTireTracks="true" hasParticles="true" > <physics rotSpeed="0" restLoad="0.7" repr="wheelNodeLeft" forcePointRatio="0.5" driveNode="wheelBackLeft" initialCompression="40" suspTravel="0.18" spring="8" damper="3"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="false" hasTireTracks="true" hasParticles="true" > <physics rotSpeed="0" restLoad="0.7" repr="wheelNodeRight" forcePointRatio="0.5" driveNode="wheelBackRight" initialCompression="40" suspTravel="0.18" spring="8" damper="3"/> </wheel> </wheels> </wheelConfiguration> </wheelConfigurations> I tried to find solution for my problem on the net, unfortunatelly there are no tutorials in this topic. Why the repr="wheelFrontRightAxis" does not follow driveNode="wheelFrontRight"? What I did wrong? Need specializations in modDesc file? |
Bilbo Beutlin (BBeutlin) | 08.10.2020 21:40 |
---|---|
What about log file? any errors or warnings? (related to your mod) |
Afmodding (1DAFUL) | 08.10.2020 22:52 |
---|---|
Log file is clear. No errors, no warnings |
Afmodding (1DAFUL) | 09.10.2020 08:33 |
---|---|
I did not make bone setup in the 3D program (3DS Max), only put the object in the Giants Editor and organized the hierarchy according to the T5. I shooted some pictures in order to explain better what is my problem. Please check this: https://afmodding.wixsite.com/afmodding/post/why-every-web-designer-should-embrace-site-builders |
Bilbo Beutlin (BBeutlin) | 09.10.2020 18:29 |
---|---|
You see, your left and right axis have different transforms. Look into the original NH T5 - there the axis have the same transforms. I'd suggest, you delete your complete "frontAxis_component2" and import this from the original. |
Afmodding (1DAFUL) | 10.10.2020 08:51 |
---|---|
Hey Bilbo! First of all, thank you for your help! I tried to do your suggestion, the original T5 component2 has been imported into my mod but, nothing changed... The issue did not came from the hierarchy. After a week of unsuccessful attempts, finally I found the mistake. (I do not know how I didn't realized earlier, thousands of mod and xml file has been checked. I has got really strong headache. :D) Well, an attribute has been missing in wheelConfiguration line in the mod's xml. transRatio=" " Here coms the full wheel config for those modder how has the same problem: <wheelConfigurations> <wheelConfiguration name="$l10n_configuration_valueDefault" price="0"> <wheels autoRotateBackSpeed="2.5"> <wheel filename="wheels/wheels.xml" isLeft="true" hasTireTracks="true" hasParticles="true" > <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.9" repr="wheelFrontLeftAxis" driveNode="wheelFrontLeft" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="8" transRatio="1" damper="3" frictionScale="2"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="false" hasTireTracks="true" hasParticles="true" > <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.9" repr="wheelFrontRightAxis" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="8" transRatio="1" damper="3" frictionScale="2"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="true" hasTireTracks="true" hasParticles="true" > <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="wheelNodeLeft" driveNode="wheelBackLeft" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="8" transRatio="1" damper="3" frictionScale="2"/> </wheel> <wheel filename="wheels/wheels.xml" isLeft="false" hasTireTracks="true" hasParticles="true" > <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="wheelNodeRight" driveNode="wheelBackRight" forcePointRatio="0.5" initialCompression="40" suspTravel="0.18" spring="8" transRatio="1" damper="3" frictionScale="2"/> </wheel> </wheels> </wheelConfiguration> </wheelConfigurations> |
Note: Log in to post. Create a new account here.