41 lines
1.4 KiB
Plaintext
Executable File
41 lines
1.4 KiB
Plaintext
Executable File
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://addons/RadMatt.3DFPP/Test_Objects/ladder/Ladder.gd" type="Script" id=1]
|
|
[ext_resource path="res://addons/RadMatt.3DFPP/Test_Objects/ladder/Ladder_2.obj" type="ArrayMesh" id=2]
|
|
|
|
[sub_resource type="SpatialMaterial" id=1]
|
|
metallic = 1.0
|
|
metallic_specular = 1.0
|
|
roughness = 0.5
|
|
|
|
[sub_resource type="BoxShape" id=2]
|
|
extents = Vector3( 0.0362228, 1.08676, 0.205497 )
|
|
|
|
[sub_resource type="BoxShape" id=3]
|
|
extents = Vector3( 0.0941494, 3.00412, 0.508542 )
|
|
|
|
[node name="Ladder" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="."]
|
|
transform = Transform( 3.82951, 0, 0, 0, 3.82951, 0, 0, 0, 3.82951, 0, 0, 0 )
|
|
mesh = ExtResource( 2 )
|
|
material/0 = SubResource( 1 )
|
|
|
|
[node name="Area" type="Area" parent="."]
|
|
input_ray_pickable = false
|
|
angular_damp = 1.0
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Area"]
|
|
transform = Transform( 3, 0, 0, 0, 3, 0, 0, 0, 3, 0, 2.75016, 0 )
|
|
shape = SubResource( 2 )
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="StaticBody"]
|
|
shape = SubResource( 3 )
|
|
|
|
[connection signal="body_entered" from="Area" to="." method="_on_Area_body_entered"]
|
|
[connection signal="body_exited" from="Area" to="." method="_on_Area_body_exited"]
|