Immersive Vehicles (Formerly Transport Simulator)

Immersive Vehicles (Formerly Transport Simulator)

4M Downloads

subParts don't disappear when a parent's visibility is turned off

DrprofLuigi opened this issue ยท 3 comments

commented

The wheel slot is set to applyAfter the mount ($LowerBed). When the mount's visibility is disabled, the rim disappears, but the tire is still visible.

{
	"pos": [0.9375, -0.1875, 1.125],
	"rot": [0, 0, 115],
	"allowParentRemoval": true,
	"isSpare": true,
	"types": ["ground_wheel_budd"],
	"defaultPart": "unuparts:unuparts_part_unu_wheel_truck_budd",
	"minValue": 0.625,
	"maxValue": 1.25,
	"applyAfter": "$LowerBed"
}

2024-01-03_00 06 21
2024-01-03_00 08 31

commented

Is this a subPart, or a part defined as applyAfter the other part? Cause a subPart is a part on a part, not something that you'd need applyAfter for.

commented

The rim is defined to applyAfter the mount, but the tire is a part on the rim.
The rim disappears, but the tire does not.

commented

Addressed in 22.13.0.