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
2020-07-26 12:41:53 +03:00

42 lines
1.4 KiB
Text

[gd_scene load_steps=8 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="CylinderShape" id=2]
height = 0.6
[sub_resource type="BoxShape" id=3]
extents = Vector3( 0.177752, 0.755777, 0.237316 )
[node name="Robot" type="RigidBody"]
physics_material_override = SubResource( 1 )
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
script = ExtResource( 1 )
[node name="PlayerModel" type="Spatial" parent="."]
[node name="Char1_Arm" parent="PlayerModel" instance=ExtResource( 4 )]
[node name="GrabPoint" type="Position3D" parent="PlayerModel/Char1_Arm"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.55536, 1.86397 )
[node name="Char1_Body" parent="PlayerModel" instance=ExtResource( 3 )]
[node name="Char1_Eyes" parent="PlayerModel" instance=ExtResource( 2 )]
[node name="CollisionShape" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0 )
shape = SubResource( 2 )
[node name="CollisionShape2" type="CollisionShape" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.37537, 0 )
shape = SubResource( 3 )