人物控制器1
This commit is contained in:
@@ -4,9 +4,11 @@
|
||||
[ext_resource type="Script" uid="uid://baid7qspg2mla" path="res://ui/crosshair.gd" id="2_vuhga"]
|
||||
[ext_resource type="PackedScene" uid="uid://css1vk3u8gt7o" path="res://character/player/assets/mouse.glb" id="2_wu8e1"]
|
||||
[ext_resource type="Script" uid="uid://roaqmma0vjon" path="res://character/player/player_animator.gd" id="3_g20gq"]
|
||||
[ext_resource type="Texture2D" uid="uid://bkq6ya350cae8" path="res://character/assets/grab_hover.png" id="3_i6sc0"]
|
||||
[ext_resource type="SceneReplicationConfig" uid="uid://c4ubbxjfrrs47" path="res://character/player/player_sync.tres" id="3_wu8e1"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://stsads1ivf5g" path="res://character/player/assets/animations/crouch.glb" id="4_g20gq"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://ddnmtmswkjx6g" path="res://character/player/assets/animations/fall.glb" id="4_hr31g"]
|
||||
[ext_resource type="Texture2D" uid="uid://c67qe66m2aft4" path="res://character/assets/grab.png" id="4_ywhvj"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://ddkl5cqdd5usx" path="res://character/player/assets/animations/idle.glb" id="5_lqp71"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://esw60hwb2cty" path="res://character/player/assets/animations/jump.glb" id="6_vuhga"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://rqhclfyiingo" path="res://character/player/assets/animations/run.glb" id="7_muf2e"]
|
||||
@@ -22,7 +24,7 @@ radius = 0.54541016
|
||||
height = 1.4063476
|
||||
|
||||
[node name="Player" type="CharacterBody3D" unique_id=869687860]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
|
||||
transform = Transform3D(0.096096, 0, 0, 0, 0.096096, 0, 0, 0, 0.096096, 0, 0, 0)
|
||||
script = ExtResource("1_gtsfv")
|
||||
|
||||
[node name="Collision" type="CollisionShape3D" parent="." unique_id=215132582]
|
||||
@@ -33,14 +35,14 @@ shape = SubResource("CapsuleShape3D_rkbax")
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0)
|
||||
|
||||
[node name="Camera" type="Camera3D" parent="CameraRig" unique_id=52294557]
|
||||
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, -0.6916404, -0.11179829)
|
||||
transform = Transform3D(10.406274, 0, 0, 0, 10.406274, 0, 0, 0, 10.406274, 0, -0.6916404, -0.11179829)
|
||||
|
||||
[node name="InteractionRay" type="RayCast3D" parent="CameraRig/Camera" unique_id=388601766]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 0, 0)
|
||||
target_position = Vector3(0, 0.5, 0)
|
||||
target_position = Vector3(0, 0.2, 0)
|
||||
|
||||
[node name="InteractionPos" type="Marker3D" parent="CameraRig/Camera" unique_id=816323614]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.44393378)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.2425185)
|
||||
|
||||
[node name="HUD" type="CanvasLayer" parent="CameraRig" unique_id=2008353247]
|
||||
|
||||
@@ -55,6 +57,8 @@ size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
mouse_filter = 2
|
||||
script = ExtResource("2_vuhga")
|
||||
hover_texture = ExtResource("3_i6sc0")
|
||||
hold_texture = ExtResource("4_ywhvj")
|
||||
|
||||
[node name="Body" type="Node3D" parent="." unique_id=394283421]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user