This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
slavic-game-jam-2020/functional/Robot.tscn

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=1]
friction = 0.0
rough = true
[sub_resource type="CylinderMesh" id=2]
top_radius = 0.4
bottom_radius = 0.4
height = 0.2
[sub_resource type="SpatialMaterial" id=3]
albedo_color = Color( 0.741176, 0.639216, 0.368627, 1 )
[sub_resource type="CylinderShape" id=4]
radius = 0.5
height = 0.3
[node name="Robot" type="RigidBody"]
physics_material_override = SubResource( 1 )
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( 2 )
material/0 = SubResource( 3 )
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.14372, 0 )
shape = SubResource( 4 )