added sound pack and played with rocket launcher animations
This commit is contained in:
@@ -41,7 +41,6 @@ func _ready():
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
position += transform.basis * Vector3(0, 0, -bullet_speed) * delta
|
||||
print(player_velocity)
|
||||
rotation.x = clamp(rotation.x - delta * bullet_drop,deg_to_rad(-90),deg_to_rad(90))
|
||||
|
||||
distance_from_player = abs(self.global_position - player_position)
|
||||
|
||||
Reference in New Issue
Block a user