Community Forum

Problem with Rigid body

Forum Overview >> Editor

CategoryEditor
Created16.01.2020 15:49


Tadeas Ivan (Unknown) 16.01.2020 15:49
Hello
I have problem with Rigid body in Giants Editor 8.1.0. I created Rigid Body in Blender. Then i exported it to i3d with i3d exporter (i downloaded it from GDN). The problem is that I can't set mass to it. I was:
- setted "Rigid body type" to Dynamic
- checked "Compound"
- setted "Collision mask" to number 202042
- checked "Non Rednerable" in Shape

When I done this and when i set any number into "Density", "Mass" will not change. It will still be there 0, and in "Center Of Mass is written -nan(ind) -nan(ind) -nan(ind).

If i put this collision into mod and if i put this mod into game, vehicle start glitching everywhere.

P.S. Sorry for my bad English

Bilbo Beutlin (BBeutlin) 17.01.2020 17:13
See default vehicles for reference.
"Compound" is only acceptable for the main part. Pure collisions are often declared as "kinematic" and "compound child".

Nevertheless the i3d value of "density" doesn't matter anymore. The mass is taken from the vehicle.xml <base> <components> ..

Tadeas Ivan (Unknown) 17.01.2020 18:20
Thanks for your "mass" tip :)

But I have still that problem, that if I set and put any type of collision (main collision too) to model, vehicle in game starts bugging and glitching everywhere :(

Bilbo Beutlin (BBeutlin) 17.01.2020 20:16
That's probably due to your invalid 'compound' definition.
Make the collision "kinematic" and "compound child" - and all should be ok.
If the GE doesn't allow "compound child", set the flag afterwards by text-editing the i3d.

Tadeas Ivan (Unknown) 21.01.2020 16:26
It is still glitching, but only when i have setted additional collisions. If I have only main collision, it is not glitching anymore.

But if I have all collisions and if I remove "Wheels" from xml, It is not glitching anymore too (but I have not wheels XD).

It is a small car trailer with tension belts, so additional collisions are important.

Bilbo Beutlin (BBeutlin) 21.01.2020 21:20
Check your mod ingame in debug mode and you'll see what's going wrong.
Use F5 : Toggle debug rendering
See instructions https://gdn.giants-software.com/documentation_overview.php

Tadeas Ivan (Unknown) 22.01.2020 15:41
Hello, it still does this :
https://drive.google.com/open?id=1OQ36grupmJpYSHEwfksCdYlwAfKRtIgK

In my opinion, problem could be with wheels.

Bilbo Beutlin (BBeutlin) 22.01.2020 19:49
Check your game log. I'm sure there are errors indicated.
Fix the errors and all should be fine.

Tadeas Ivan (Unknown) 23.01.2020 14:08
Hello, here is the log:

GIANTS Engine Runtime 8.0.0 (18411) 64bit Steam (Build Date: Feb 18 2019)
Copyright (c) 2008-2019, GIANTS Software GmbH (giants-software.com), All Rights Reserved.
Copyright (c) 2003-2019, Christian Ammann and Stefan Geiger, All Rights Reserved.
Application: FarmingSimulator2019
Main System
CPU: AMD A8-9600 RADEON R7, 10 COMPUTE CORES 4C+6G
Memory: 7613 MB
OS: Windows NT 10.0 64-bit
Physics System
Version: 5.9.5
Thread(s): 2
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Audio System
Driver: SoftMixer WASAPI Stereo
Version: 2018.11
Frequency: 48000
Max. active sources: 256
Render System
Driver: Direct 3D 11
Card Vendor: AMD/ATI
Renderer: AMD Radeon R7 200 Series
Version: 24.20.13017.5001 (18.9.2018)
Revision: 0
Feature level: DirectX 11
Windowed Mode : off
V-Sync : off
Effective Window Resolution: 1366 x 768
Started 2 threads for threadpool 'Render threadpool'
Hardware Profile
Level: Custom Medium
View Distance Factor: 1.300000
Shadow Quality: 1.000000 Base-Size: 2048 Filter-Size: 4 Shadow Focus Box false
Shader Quality: 1
Skip Mipmaps: 0
LOD Distance Factor: 1.000000
Terrain LOD Distance Factor: 1.000000
Terrain Normal Mapping: Yes
Foliage View Distance Factor: 1.300000
Volume Mesh Tessellation Factor: 1.000000
Tyre Tracks Segments Factor: 1.000000
Max. Number of Shadow Lights: 1
Max. Number of Lights: 512
Max. Number of Lights Per Cluster: 32
MSAA: 1
Bloom Quality: 3
SSAO Quality: 8
DOF: Disabled
Cloud Quality: 2
Setting 'Master Volume': 1
Setting 'Is Train Tabbable': true
Setting 'Radio Vehicle Only': false
Setting 'Radio Active': false
Setting 'Use Colorblind Mode': false
Setting 'Easy Arm Control': true
Setting 'Show Trigger Marker': true
Setting 'Show Field-Info': true
Setting 'Invert Y-Look': false
Setting 'Show Help Icons': true
Setting 'Radio Volume': 0.5
Setting 'Vehicle Volume': 0.80000001192093
Setting 'Environment Volume': 0.80000001192093
Setting 'GUI Volume': 0.5
Setting 'Master Volume': 1
Setting 'Music Volume': 0.69999998807907
Farming Simulator 19 (Steam)
Version: 1.3.0.1 b4007
Available Languages: en de jp pl cz fr es ru it pt hu nl cs ct br tr ro kr
Language: cz
Time: 2020-01-23 13:56:15
dataS2/character/humans/characterAnimation.i3d (158.78 ms)
Load mod: FS19_mahindraRetriever (Version: 1.0.0.0) (Hash: e0afcef487f47e2ae12d52199160141e)
dataS2/character/humans/pedestrians/pedestrianAnimation.i3d (95.09 ms)
Load mod: FS19_Skoda_105L (Version: 1.0.0.0) (Hash: 072c55d2b0a69f8af925ff75242143e6)
2020-01-23 13:56 Loaded specializations
2020-01-23 13:56 Loaded vehicle types
2020-01-23 13:56 Loaded placeable types
2020-01-23 13:56 Register configuration 'baseColor'
2020-01-23 13:56 Register configuration 'design'
2020-01-23 13:56 Register configuration 'designColor'
2020-01-23 13:56 Register configuration 'vehicleType'
2020-01-23 13:56 Register workAreaType 'RIDGEMARKER'
2020-01-23 13:56 Register configuration 'attacherJoint'
2020-01-23 13:56 Register workAreaType 'WEEDER'
2020-01-23 13:56 Register workAreaType 'PLOW'
2020-01-23 13:56 Register workAreaType 'DEFAULT'
2020-01-23 13:56 Register workAreaType 'AUXILIARY'
2020-01-23 13:56 Register configuration 'motor'
2020-01-23 13:56 Register configuration 'frontloader'
2020-01-23 13:56 Register workAreaType 'FORAGEWAGON'
2020-01-23 13:56 Register configuration 'baseMaterial'
2020-01-23 13:56 Register configuration 'designMaterial'
2020-01-23 13:56 Register configuration 'wrappingColor'
2020-01-23 13:56 Register configuration 'powerTakeOff'
2020-01-23 13:56 Register configuration 'trailer'
2020-01-23 13:56 Register workAreaType 'COMBINECHOPPER'
2020-01-23 13:56 Register workAreaType 'COMBINESWATH'
2020-01-23 13:56 Register workAreaType 'FRUITPREPARER'
2020-01-23 13:56 Register workAreaType 'BALER'
2020-01-23 13:56 Register configuration 'tensionBelts'
2020-01-23 13:56 Register workAreaType 'MOWER'
2020-01-23 13:56 Register workAreaType 'CULTIVATOR'
2020-01-23 13:56 Register workAreaType 'SPRAYER'
2020-01-23 13:56 Register configuration 'wheel'
2020-01-23 13:56 Register configuration 'rimColor'
2020-01-23 13:56 Register configuration 'pipe'
2020-01-23 13:56 Register workAreaType 'SOWINGMACHINE'
2020-01-23 13:56 Register workAreaType 'CUTTER'
2020-01-23 13:56 Register workAreaType 'WINDROWER'
2020-01-23 13:56 Register configuration 'inputAttacherJoint'
2020-01-23 13:56 Register workAreaType 'TEDDER'
2020-01-23 13:56 Register workAreaType 'ROLLER'
2020-01-23 13:56 Register configuration 'cover'
2020-01-23 13:56 Register configuration 'folding'
2020-01-23 13:56 Register configuration 'fillUnit'
2020-01-23 13:56 Register configuration 'buyableBaleAmount'
2020-01-23 13:56 Register configuration 'fillVolume'
2020-01-23 13:56 data/shared/connectionHoses/hoses.i3d (613.75 ms)
2020-01-23 13:56 data/shared/connectionHoses/connectors.i3d (337.49 ms)
2020-01-23 13:56 data/shared/connectionHoses/hoseMaterialHolder.i3d (116.62 ms)
2020-01-23 13:56 data/sky/sky.i3d (59.55 ms)
2020-01-23 13:56 data/sky/rain.i3d (33.61 ms)
2020-01-23 13:57 data/maps/mapUS.i3d (45625.68 ms)
2020-01-23 13:57 data/foliage/wheat.i3d (309.81 ms)
2020-01-23 13:57 data/foliage/grassLong.i3d (149.43 ms)
2020-01-23 13:57 data/foliage/canola.i3d (143.05 ms)
2020-01-23 13:57 data/foliage/barley.i3d (127.11 ms)
2020-01-23 13:57 data/foliage/maize.i3d (303.25 ms)
2020-01-23 13:57 data/foliage/decoFoliage.i3d (1347.48 ms)
2020-01-23 13:57 data/foliage/potato.i3d (285.06 ms)
2020-01-23 13:57 data/foliage/potatoHaulm.i3d (65.01 ms)
2020-01-23 13:57 data/foliage/sugarbeet.i3d (152.59 ms)
2020-01-23 13:57 data/foliage/sugarbeetHaulm.i3d (16.86 ms)
2020-01-23 13:57 data/foliage/sunflower.i3d (472.74 ms)
2020-01-23 13:57 data/foliage/soybean.i3d (232.87 ms)
2020-01-23 13:57 data/foliage/oilseedRadish.i3d (70.13 ms)
2020-01-23 13:57 data/foliage/poplar.i3d (297.91 ms)
2020-01-23 13:57 data/foliage/oat.i3d (288.49 ms)
2020-01-23 13:57 data/foliage/sugarCane.i3d (250.66 ms)
2020-01-23 13:57 data/foliage/sugarCaneHaulm.i3d (44.12 ms)
2020-01-23 13:57 data/foliage/cotton.i3d (243.49 ms)
2020-01-23 13:57 data/foliage/bush01.i3d (413.90 ms)
2020-01-23 13:57 Info: transform group 'bushUS01' has elements very far out from the cell edge (29.61% expansion)
2020-01-23 13:57 data/foliage/weed.i3d (36.38 ms)
2020-01-23 13:57 data/objects/basketball/basketball.i3d (59.32 ms)
2020-01-23 13:57 Disabled withering
2020-01-23 13:57 data/vehicles/newHolland/TX32Header/TX32Header.i3d (696.23 ms)
2020-01-23 13:57 data/store/ui/shop.i3d (741.25 ms)
2020-01-23 13:57 data/shared/materialHolders/glowEffectMaterialHolder.i3d (0.85 ms)
2020-01-23 13:57 data/shared/assets/powerTakeOffs/walterscheidW.i3d (145.60 ms)
2020-01-23 13:57 data/store/ui/cube.i3d (20.75 ms)
2020-01-23 13:57 data/store/ui/sphere.i3d (24.96 ms)
2020-01-23 13:57 data/vehicles/newHolland/TX32/TX32.i3d (1557.80 ms)
2020-01-23 13:57 data/shared/wheels/hubs/hubs.i3d (832.75 ms)
2020-01-23 13:57 data/particleSystems/shared/wheelEmitterShape.i3d (13.74 ms)
2020-01-23 13:57 data/shared/wheels/trelleborg/TM2000/R32_TM2000.i3d (185.58 ms)
2020-01-23 13:57 data/shared/wheels/rims/rim001.i3d (62.49 ms)
2020-01-23 13:57 data/shared/wheels/trelleborg/TM700/R24_TM700.i3d (115.00 ms)
2020-01-23 13:57 data/particleSystems/shared/exhaust.i3d (34.10 ms)
2020-01-23 13:57 data/shared/assets/lights/lizard/rear2ChamberLight_05.i3d (142.14 ms)
2020-01-23 13:57 data/shared/assets/lights/lizard/workingLightSquare_03.i3d (44.36 ms)
2020-01-23 13:57 data/shared/assets/lights/lizard/workingLightCircle_02.i3d (33.55 ms)
2020-01-23 13:57 data/shared/assets/reflectors/lizard/yellowRound_03.i3d (98.26 ms)
2020-01-23 13:57 data/shared/assets/reflectors/lizard/redRound_01.i3d (17.09 ms)
2020-01-23 13:57 data/shared/assets/beaconLights/lizard/beaconLight06.i3d (59.90 ms)
2020-01-23 13:57 data/vehicles/rau/polymag300/polymag300.i3d (749.70 ms)
2020-01-23 13:58 data/vehicles/caseIH/magnum7240Pro/magnum7240Pro.i3d (1733.67 ms)
2020-01-23 13:58 data/shared/wheels/trelleborg/TM700/R30_TM700.i3d (69.30 ms)
2020-01-23 13:58 data/shared/wheels/trelleborg/TM800/R42_TM800.i3d (261.66 ms)
2020-01-23 13:58 data/shared/assets/beaconLights/lizard/beaconLight01.i3d (15.47 ms)
2020-01-23 13:58 data/shared/assets/upperLinks/walterscheid03.i3d (176.19 ms)
2020-01-23 13:58 data/shared/assets/toolbar.i3d (49.98 ms)
2020-01-23 13:58 data/shared/assets/upperLinks/walterscheid01.i3d (19.46 ms)
2020-01-23 13:58 data/vehicles/suer/SB1000/SB1000.i3d (467.35 ms)
2020-01-23 13:58 data/vehicles/amazone/D8_30/D8_30.i3d (554.04 ms)
2020-01-23 13:58 data/shared/wheels/hubs/hubSmall01.i3d (60.15 ms)
2020-01-23 13:58 data/shared/wheels/lizard/implement/R15.i3d (98.95 ms)
2020-01-23 13:58 data/shared/assets/lights/lizard/rear2ChamberLight_04.i3d (73.02 ms)
2020-01-23 13:58 data/shared/assets/lights/lizard/rearLightCircleRed_01.i3d (98.32 ms)
2020-01-23 13:58 data/shared/assets/lights/lizard/frontLightRectangle_01.i3d (71.04 ms)
2020-01-23 13:58 data/vehicles/fiat/fiat1300dt/fiat1300dt.i3d (728.39 ms)
2020-01-23 13:58 data/shared/wheels/trelleborg/TM600/R28_TM600.i3d (180.94 ms)
2020-01-23 13:58 data/shared/wheels/rims/rim004.i3d (196.56 ms)
2020-01-23 13:58 data/shared/wheels/trelleborg/TM700/R38_TM700.i3d (17.69 ms)
2020-01-23 13:58 data/shared/wheels/rims/rim003.i3d (121.33 ms)
2020-01-23 13:58 data/vehicles/strautmann/SEK802/SEK802.i3d (982.08 ms)
2020-01-23 13:58 data/shared/assets/wheelChocks/wheelChockSupport01.i3d (62.10 ms)
2020-01-23 13:58 data/shared/assets/wheelChocks/wheelChock01.i3d (47.85 ms)
2020-01-23 13:58 data/shared/wheels/trelleborg/TwinRadial/R22_5_TwinRadial.i3d (227.41 ms)
2020-01-23 13:58 data/shared/assets/lights/lizard/rear4ChamberLight_01.i3d (102.92 ms)
2020-01-23 13:58 data/shared/assets/lights/lizard/sideMarker_03.i3d (65.05 ms)
2020-01-23 13:58 data/placeables/mapUS/grainSiloRailroad01/grainSiloRailroad01.i3d (67.87 ms)
2020-01-23 13:58 data/placeables/mapUS/grainSiloRailroad02/grainSiloRailroad02.i3d (32.20 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationGeneric/sellingStationGeneric.i3d (29.02 ms)
2020-01-23 13:58 data/placeables/mapUS/grainSiloCentral/grainSiloCentral.i3d (14.52 ms)
2020-01-23 13:58 data/placeables/mapUS/grainSiloPort/grainSiloPort.i3d (47.92 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationBales/sellingStationBales.i3d (17.42 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationWood/sellingStationWood.i3d (8.66 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationWoodChips/sellingStationWoodChips.i3d (16.56 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationWoodHeatingPlant/sellingStationWoodHeatingPlant.i3d (1.90 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationWool/sellingStationWool.i3d (7.12 ms)
2020-01-23 13:58 data/placeables/mapUS/sellingStationVehicles/sellingStationVehicles.i3d (12.08 ms)
2020-01-23 13:58 data/placeables/mapUS/gasStation/gasStation.i3d (9.86 ms)
2020-01-23 13:58 data/placeables/mapUS/trainSystem/trainSystem.i3d (133.27 ms)
2020-01-23 13:58 data/placeables/mapUS/bga/bga.i3d (134.47 ms)
2020-01-23 13:58 data/placeables/farmSilos/farmSiloLarge.i3d (61.75 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmHouse.i3d (166.84 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmGarage.i3d (37.39 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmShack.i3d (36.21 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmShed.i3d (27.35 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmStable.i3d (38.96 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmStorage.i3d (36.03 ms)
2020-01-23 13:58 data/placeables/mapUS/farmBuildings/farmOldBarn.i3d (31.74 ms)
2020-01-23 13:58 data/placeables/sheds/easyShed01.i3d (73.74 ms)
2020-01-23 13:58 data/placeables/mapUS/waterFillTriggers/waterFillTriggers.i3d (29.45 ms)
2020-01-23 13:58 data/placeables/limeStation/limeStation.i3d (236.73 ms)
2020-01-23 13:58 data/vehicles/train/locomotive04/locomotive04.i3d (1377.98 ms)
2020-01-23 13:58 data/vehicles/train/wagonGrain/wagonGrain.i3d (1279.24 ms)
2020-01-23 13:58 data/vehicles/train/wagonWoodChips/wagonWoodChips.i3d (93.98 ms)
2020-01-23 13:58 data/vehicles/train/wagonTimber/wagonTimber.i3d (54.12 ms)
2020-01-23 13:58 data/vehicles/train/wagonSugarbeets/wagonSugarbeets.i3d (81.42 ms)
2020-01-23 13:58 data/vehicles/train/wagonVehicles/wagonVehicles.i3d (31.13 ms)
2020-01-23 13:58 dataS2/character/humans/player/player01.i3d (528.10 ms)
2020-01-23 13:58 Setting 'Radio Volume': 0.5
2020-01-23 13:58 Setting 'Vehicle Volume': 0.80000001192093
2020-01-23 13:58 Setting 'Environment Volume': 0.80000001192093
2020-01-23 13:58 Setting 'GUI Volume': 0.5
2020-01-23 13:58 Info: Savegame Setting 'dirtInterval': 3
2020-01-23 13:58 Info: Savegame Setting 'plantGrowthRate': 4
2020-01-23 13:58 Info: Savegame Setting 'fuelUsageLow': true
2020-01-23 13:58 Info: Savegame Setting 'plowingRequiredEnabled': false
2020-01-23 13:58 Info: Savegame Setting 'weedsEnabled': true
2020-01-23 13:58 Info: Savegame Setting 'limeRequired': true
2020-01-23 13:58 dataS2/character/humans/player/player02.i3d (630.54 ms)
2020-01-23 13:58 C:/Users/Tadeáš/Documents/My Games/FarmingSimulator2019/mods/FS19_Skoda_105L/lizardCarTrailer.i3d (269.07 ms)
2020-01-23 13:58 Warning (C:/Users/Tadeáš/Documents/My Games/FarmingSimulator2019/mods/FS19_Skoda_105L/lizardCarTrailer.xml): I3D file offers '2' objects, but '1' components have been loaded!
2020-01-23 13:59 Application exit request forced.
2020-01-23 13:59 Application exit request forced.


Bilbo Beutlin (BBeutlin) 23.01.2020 22:40
What about "I3D file offers '2' objects, but '1' components have been loaded!"
Do you really have 2 components? Or is the other something like abounding camera?

If you have in fact two components in i3d, you MUST declare these and link by <joint> in the xml <base> <components>

Tadeas Ivan (Unknown) 24.01.2020 11:34
Hello
Yes, second component is just a camera

Bilbo Beutlin (BBeutlin) 24.01.2020 17:08
Then I'd assume, your extra collisions conflict with the wheels' collis.
Divide the collis in several parts, so they leave space for the wheels.


Note: Log in to post. Create a new account here.