Add flicker to jetpack light
parent
c8bc8952fa
commit
37857563e4
|
@ -196,6 +196,7 @@ func _process(delta):
|
|||
if jetpack_active:
|
||||
$Jetpack/JetpackSound.stream_paused = false
|
||||
$Jetpack/OmniLight3D.show()
|
||||
$Jetpack/OmniLight3D.light_energy = randf_range(2, 5)
|
||||
else:
|
||||
$Jetpack/JetpackSound.stream_paused = true
|
||||
$Jetpack/OmniLight3D.hide()
|
||||
|
|
Reference in New Issue