Work on pickups and multiplayer
This commit is contained in:
@@ -11,27 +11,18 @@ emission_energy_multiplier = 2.69
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_7i3j4"]
|
||||
size = Vector3(0.15, 0.15, 0.15)
|
||||
|
||||
[node name="Bullet" type="RigidBody3D"]
|
||||
gravity_scale = 0.0
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 3
|
||||
[node name="Bullet" type="Area3D"]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
script = ExtResource("1_tc5n7")
|
||||
|
||||
[node name="CSGSphere3D" type="CSGSphere3D" parent="."]
|
||||
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
||||
radius = 0.05
|
||||
radial_segments = 4
|
||||
rings = 3
|
||||
radial_segments = 6
|
||||
material = SubResource("StandardMaterial3D_fnprb")
|
||||
|
||||
[node name="HitArea" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea"]
|
||||
shape = SubResource("BoxShape3D_7i3j4")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_7i3j4")
|
||||
|
||||
[node name="OmniLight3D" type="OmniLight3D" parent="."]
|
||||
@@ -42,5 +33,4 @@ light_volumetric_fog_energy = 0.0
|
||||
light_size = 0.2
|
||||
omni_range = 0.4
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="body_entered" from="HitArea" to="." method="_on_hit_area_entered"]
|
||||
[connection signal="body_entered" from="." to="." method="_on_hit_area_entered"]
|
||||
|
||||
Reference in New Issue
Block a user