-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathterrain_template.json
77 lines (77 loc) · 2.04 KB
/
terrain_template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"type": "Entity",
"name": "terrain",
"id": 2210499583,
"components": [
{
"type": "ModelDefinitionComponent",
"name": "terrain_ModelDefinition",
"filename": "data/hd/env/preset/test/vfxPerformanceRoom/terrain.model",
"visibleLayers": 1,
"lightMask": 19,
"shadowMask": 3,
"ghostShadows": false,
"floorModel": false,
"terrainBlendEnableYUpBlend": false,
"terrainBlendMode": 1
},
{
"type": "TransformDefinitionComponent",
"name": "terrain_TransformDefinition",
"position": {
"x": 0,
"y": 0,
"z": 0
},
"orientation": {
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"scale": {
"x": 1,
"y": 1,
"z": 1
},
"inheritOnlyPosition": false
},
{
"type": "TerrainDefinitionComponent",
"name": "terrain_TerrainDefinition"
},
{
"type": "PhysicsBodyDefinitionComponent",
"name": "terrain_PhysicsBodyDefinition",
"bodytype": "static",
"fixturedefs": [
{
"type": "PhysicsFixtureDefinition",
"name": "terrain_PhysicsBodyDefinition_fixturedefs_0",
"shapetype": {
"type": "PhysicsFileDefinition",
"name": "physicsFileDefinition",
"filename": "data/hd/env/preset/test/vfxPerformanceRoom/terrain.physics"
},
"friction": 0.6,
"restitution": 0,
"rollingresistance": 0.2,
"impulsefactor": 1,
"explosionfactor": 1,
"explosionliftfactor": 1,
"windfactor": 0,
"dragfactor": 0,
"liftfactor": 1,
"density": 37.5,
"boneindex": -1
}
],
"filter": "floor",
"allowTransition": true,
"removeOnDeath": true,
"lineardamping": 0,
"angulardamping": 0,
"gravityscale": 1
}
]
}