mirror of
https://github.com/Nokorpo/LibreAim.git
synced 2025-06-09 17:44:47 +09:00
Avoid targets colliding with themselves
This commit is contained in:
parent
7fb824ea7b
commit
4babc9c3c6
2 changed files with 4 additions and 2 deletions
|
@ -12,9 +12,11 @@ emission_energy_multiplier = 0.5
|
||||||
|
|
||||||
[sub_resource type="SphereMesh" id="SphereMesh_gr1eg"]
|
[sub_resource type="SphereMesh" id="SphereMesh_gr1eg"]
|
||||||
material = SubResource("StandardMaterial3D_nkxxc")
|
material = SubResource("StandardMaterial3D_nkxxc")
|
||||||
|
radial_segments = 32
|
||||||
|
rings = 16
|
||||||
|
|
||||||
[node name="Target" type="CharacterBody3D" groups=["Enemy"]]
|
[node name="Target" type="CharacterBody3D" groups=["Enemy"]]
|
||||||
collision_mask = 9
|
collision_mask = 2
|
||||||
script = ExtResource("1_mc4da")
|
script = ExtResource("1_mc4da")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||||
|
|
|
@ -211,7 +211,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.08165e-12, 6, -16.6875)
|
||||||
material_override = SubResource("StandardMaterial3D_22nld")
|
material_override = SubResource("StandardMaterial3D_22nld")
|
||||||
transparency = 1.0
|
transparency = 1.0
|
||||||
use_collision = true
|
use_collision = true
|
||||||
collision_layer = 8
|
collision_layer = 2
|
||||||
size = Vector3(40, 12, 10)
|
size = Vector3(40, 12, 10)
|
||||||
|
|
||||||
[node name="TargetPrison2" type="CSGBox3D" parent="TargetPrison"]
|
[node name="TargetPrison2" type="CSGBox3D" parent="TargetPrison"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue