37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://tests/character_mod_test.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
extents = Vector3( 20, 0.1, 20 )
|
|
|
|
[sub_resource type="CubeMesh" id=2]
|
|
size = Vector3( 40, 0.1, 40 )
|
|
subdivide_width = 8
|
|
subdivide_depth = 8
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
metallic = 0.8
|
|
roughness = 0.0
|
|
|
|
[node name="character_mod_test" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.2, 8 )
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="."]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 )
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 )
|
|
mesh = SubResource( 2 )
|
|
material/0 = SubResource( 3 )
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.0871556, 0.996195, 0, -0.996195, 0.0871556, 0, 20, 0 )
|
|
shadow_enabled = true
|