basic aim assist system
This commit is contained in:
@@ -47,6 +47,9 @@ albedo_color = Color(0.06469653, 0.06469653, 0.06469653, 1)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_4yfjf"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_ykkxn"]
|
||||
radius = 2.0
|
||||
|
||||
[node name="FlyingEnemy" type="CharacterBody3D" unique_id=2090203407]
|
||||
collision_layer = 16
|
||||
collision_mask = 273
|
||||
@@ -116,3 +119,10 @@ monitorable = false
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox" unique_id=68664931]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.5)
|
||||
shape = SubResource("BoxShape3D_4yfjf")
|
||||
|
||||
[node name="AimAssistTarget" type="Area3D" parent="." unique_id=178575959]
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="AimAssistTarget" unique_id=843739364]
|
||||
shape = SubResource("SphereShape3D_ykkxn")
|
||||
|
||||
@@ -48,6 +48,9 @@ albedo_color = Color(0.06469653, 0.06469653, 0.06469653, 1)
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_4yfjf"]
|
||||
size = Vector3(1, 2, 1.5)
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_k2cew"]
|
||||
radius = 2.0
|
||||
|
||||
[node name="GroundedEnemy" type="CharacterBody3D" unique_id=1747444936]
|
||||
collision_layer = 16
|
||||
collision_mask = 273
|
||||
@@ -120,3 +123,11 @@ monitorable = false
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox" unique_id=978720734]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, -0.25)
|
||||
shape = SubResource("BoxShape3D_4yfjf")
|
||||
|
||||
[node name="AimAssistTarget" type="Area3D" parent="." unique_id=328174571]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
||||
collision_layer = 64
|
||||
collision_mask = 0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="AimAssistTarget" unique_id=1960476920]
|
||||
shape = SubResource("SphereShape3D_k2cew")
|
||||
|
||||
Reference in New Issue
Block a user