mostly have mouse look working, need to figure out why collision mask binary 8 also includes 6??
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://hmyrn2pbbhpm"]
|
||||
[gd_scene load_steps=8 format=3 uid="uid://hmyrn2pbbhpm"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bici4k5vkuoos" path="res://Scripts/player_camera.gd" id="1_ocbkm"]
|
||||
[ext_resource type="Script" uid="uid://bnqpqdped5uw2" path="res://Scripts/camera_Look.gd" id="2_8uhk6"]
|
||||
@@ -17,6 +17,9 @@ bg_color = Color(0.458824, 0, 0.145098, 1)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8uhk6"]
|
||||
bg_color = Color(0.457868, 0.677542, 0.145981, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_8uhk6"]
|
||||
size = Vector3(30, 1, 30)
|
||||
|
||||
[node name="CameraFollow" type="Node3D"]
|
||||
script = ExtResource("1_ocbkm")
|
||||
|
||||
@@ -63,3 +66,12 @@ size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
theme = ExtResource("3_8uhk6")
|
||||
text = "Gold: 35"
|
||||
|
||||
[node name="MouseTable" type="Area3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
||||
collision_layer = 128
|
||||
collision_mask = 128
|
||||
priority = 1
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="MouseTable"]
|
||||
shape = SubResource("BoxShape3D_8uhk6")
|
||||
|
||||
Reference in New Issue
Block a user