44 lines
1.4 KiB
Text
44 lines
1.4 KiB
Text
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://functional/Robot.gd" type="Script" id=1]
|
|
[ext_resource path="res://Assets/Characters/Char1_Eyes.fbx" type="PackedScene" id=2]
|
|
[ext_resource path="res://Assets/Characters/Char1_Body.fbx" type="PackedScene" id=3]
|
|
[ext_resource path="res://Assets/Characters/Char1_Arm.fbx" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="PhysicsMaterial" id=4]
|
|
friction = 0.0
|
|
rough = true
|
|
|
|
[sub_resource type="CylinderMesh" id=1]
|
|
top_radius = 0.4
|
|
bottom_radius = 0.4
|
|
height = 0.2
|
|
|
|
[sub_resource type="SpatialMaterial" id=2]
|
|
albedo_color = Color( 0.741176, 0.639216, 0.368627, 1 )
|
|
|
|
[sub_resource type="CylinderShape" id=3]
|
|
radius = 0.5
|
|
height = 0.3
|
|
|
|
[node name="Robot" type="RigidBody"]
|
|
physics_material_override = SubResource( 4 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="PlayerModel" type="Spatial" parent="."]
|
|
transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 )
|
|
|
|
[node name="Char1_Arm" parent="PlayerModel" instance=ExtResource( 4 )]
|
|
|
|
[node name="Char1_Body" parent="PlayerModel" instance=ExtResource( 3 )]
|
|
|
|
[node name="Char1_Eyes" parent="PlayerModel" instance=ExtResource( 2 )]
|
|
|
|
[node name="MeshInstance" type="MeshInstance" parent="PlayerModel"]
|
|
visible = false
|
|
mesh = SubResource( 1 )
|
|
material/0 = SubResource( 2 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.14372, 0 )
|
|
shape = SubResource( 3 )
|