22 lines
1.7 KiB
JSON
22 lines
1.7 KiB
JSON
{
|
|
"version": 1,
|
|
"componentID": "physics.DistanceJoint2D",
|
|
"demoID": "physics.DistanceJoint2D.length",
|
|
"documentID": "physics.DistanceJoint2D",
|
|
"scene": "physics.DistanceJoint2D/try",
|
|
"identity": "a3bd2a58a9e6f53897270dc9a714f4baffea27bd2e4749adde3c63e6384d4fa1",
|
|
"dependencies": ["ae900000000000000000000000000010", "ae900000000000000000000000000d00"],
|
|
"editableFields": ["physics.DistanceJoint2D.Length"],
|
|
"actions": [{
|
|
"id": "shorten-joint", "field": "physics.DistanceJoint2D.Length", "value": 2,
|
|
"expected": [{"observable": "physics.DistanceJoint2D.Length", "equals": 2, "changes": true}],
|
|
"visual": {"minChangedPixels": 100, "maxResetDifferencePixels": 99}
|
|
}],
|
|
"reset": "reset",
|
|
"languages": {
|
|
"en": {"title": "Change joint distance", "description": "The cyan dynamic body is four units from the gray static anchor. The gray line is a fixed reference, not a simulated rope.", "input": "Set Length to 2. The real distance joint pulls the body to two units from the anchor. Reset restores the four-unit distance."},
|
|
"ru": {"title": "Изменение длины шарнира", "description": "Голубое динамическое тело находится в четырёх единицах от серой неподвижной опоры. Серая линия — неподвижная отметка, а не симуляция верёвки.", "input": "Установите Length в 2. Настоящий шарнир расстояния подтянет тело до двух единиц от опоры. «Сброс» восстановит расстояние в четыре единицы."}
|
|
},
|
|
"environments": {"native": {"mode": "runtime"}, "chromium": {"mode": "runtime"}, "firefox": {"mode": "runtime"}}
|
|
}
|