This commit is contained in:
Victor Turgeon
2022-10-11 21:21:27 -04:00
parent 4973e22d23
commit d31b299251
15 changed files with 261 additions and 24 deletions

View File

@@ -21,7 +21,7 @@ height = 3.0
[sub_resource type="CylinderShape" id=3]
[sub_resource type="BoxShape" id=7]
extents = Vector3( 0.797679, 1, 1 )
extents = Vector3( 0.983522, 2, 1.55035 )
[sub_resource type="SpatialMaterial" id=4]
albedo_texture = ExtResource( 3 )
@@ -109,16 +109,17 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.84218, 0 )
[node name="Camera" type="Camera" parent="Head"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0154071, 0.355, -0.246618 )
fov = 80.0
fov = 90.0
[node name="HitBox" type="Area" parent="Head/Camera"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0154071, -0.355, 0.246618 )
monitoring = false
monitorable = false
script = ExtResource( 7 )
hitbox_type = 1
[node name="CollisionShape" type="CollisionShape" parent="Head/Camera/HitBox"]
transform = Transform( 1, 0, 0, 0, 0.3, 0, 0, 0, 0.8, 0, 0.414722, -1.5988 )
transform = Transform( 1, 0, 0, 0, 0.3, 0, 0, 0, 0.8, 0, 0.414722, -2.0674 )
shape = SubResource( 7 )
[node name="PointTo" type="Spatial" parent="Head/Camera"]