diff --git a/project/objects/effects/impact_decal.tscn b/project/objects/effects/impact_decal.tscn index 919c5775..b605a5f1 100644 --- a/project/objects/effects/impact_decal.tscn +++ b/project/objects/effects/impact_decal.tscn @@ -14,7 +14,7 @@ func _ready(): $ImpactFlash2.restart() await PlayerCamera.get_instance().impact_effect($ImpactFlash.process_material.color, 0.1, 0.0, .04).timeout $DustCloud.restart() - await get_tree().create_timer(0.05).timeout + await get_tree().create_timer(0.1).timeout $DamageBox.queue_free.call_deferred() " @@ -23,11 +23,11 @@ script/source = "extends DamageBox func _on_body_entered(body: Node3D) -> void: if body is RigidBody3D: - (body as RigidBody3D).apply_force((body.global_position - global_position).normalized() * 200 + Vector3(0, 50, 0)) + (body as RigidBody3D).apply_force((body.global_position - global_position).normalized() * 200 + Vector3(0, 100, 0)) " [sub_resource type="CylinderShape3D" id="CylinderShape3D_dvja1"] -height = 1.01807 +height = 2.05636 radius = 1.46143 [node name="ImpactDecal" type="Node3D"] @@ -61,7 +61,7 @@ damage = 2 script = SubResource("GDScript_bxu7p") [node name="CollisionShape3D" type="CollisionShape3D" parent="DamageBox"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.468468, 0.01489) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.771435, 0.01489) shape = SubResource("CylinderShape3D_dvja1") [connection signal="body_entered" from="DamageBox" to="DamageBox" method="_on_body_entered"]