2022-10-11 11:42:57 -04:00
|
|
|
[gd_scene load_steps=7 format=2]
|
2022-10-11 08:39:11 -04:00
|
|
|
|
|
|
|
[ext_resource path="res://Player.gd" type="Script" id=1]
|
2022-10-11 11:42:57 -04:00
|
|
|
[ext_resource path="res://BlenderStuff/Hand/protohand.obj" type="ArrayMesh" id=2]
|
|
|
|
[ext_resource path="res://Textures/kenney_prototype_textures/purple/texture_01.png" type="Texture" id=3]
|
2022-10-11 08:39:11 -04:00
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape" id=2]
|
|
|
|
height = 3.0
|
|
|
|
|
|
|
|
[sub_resource type="CylinderShape" id=3]
|
|
|
|
|
2022-10-11 11:42:57 -04:00
|
|
|
[sub_resource type="SpatialMaterial" id=4]
|
|
|
|
albedo_texture = ExtResource( 3 )
|
|
|
|
uv1_triplanar = true
|
|
|
|
|
2022-10-11 08:39:11 -04:00
|
|
|
[node name="Player" type="KinematicBody"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 )
|
|
|
|
shape = SubResource( 2 )
|
|
|
|
|
|
|
|
[node name="Feet" type="CollisionShape" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.49873, 0 )
|
|
|
|
shape = SubResource( 3 )
|
|
|
|
|
|
|
|
[node name="Head" type="Spatial" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.84218, 0 )
|
|
|
|
|
|
|
|
[node name="Camera" type="Camera" parent="Head"]
|
2022-10-11 11:42:57 -04:00
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.343071, -0.253136 )
|
|
|
|
|
|
|
|
[node name="Hand" type="MeshInstance" parent="Head"]
|
|
|
|
transform = Transform( -0.178665, 0.385633, 0.029372, 0.386578, 0.177104, 0.0262457, 0.0115471, 0.0376592, -0.4242, 1.33036, -0.0718137, -2.73514 )
|
|
|
|
mesh = ExtResource( 2 )
|
|
|
|
skeleton = NodePath("../..")
|
|
|
|
material/0 = SubResource( 4 )
|
2022-10-11 09:26:29 -04:00
|
|
|
|
|
|
|
[node name="GroundCheck" type="RayCast" parent="."]
|
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2, 0 )
|
|
|
|
enabled = true
|
|
|
|
cast_to = Vector3( 0, -1.5, 0 )
|