26 lines
765 B
Text
26 lines
765 B
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://environment/terrain_material.tres" type="Material" id=1]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 32, 32, 32 )
|
|
|
|
[sub_resource type="PlaneMesh" id=2]
|
|
material = ExtResource( 1 )
|
|
size = Vector2( 64, 64 )
|
|
|
|
[node name="Terrain" type="StaticBody"]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -32, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
mesh = SubResource( 2 )
|
|
material/0 = null
|
|
|
|
[node name="Area" type="Area" parent="."]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Area"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -32, 0 )
|
|
shape = SubResource( 1 )
|