way too many changes to list, oops. big rewrite.
This commit is contained in:
7
Weapons/BombLauncher/weapon_bomb_launcher.gd
Normal file
7
Weapons/BombLauncher/weapon_bomb_launcher.gd
Normal file
@ -0,0 +1,7 @@
|
||||
class_name BombLauncherWeapon extends ProjectileWeapon
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
super._ready()
|
||||
var launch_range: float = stats.get_attribute("Range")
|
||||
force = sqrt((launch_range * ProjectSettings.get_setting("physics/3d/default_gravity")) / sin(2.0 * 45.0))
|
Reference in New Issue
Block a user