This commit is contained in:
Rendo 2025-12-10 12:31:22 +05:00
commit 553f8ea77a
7 changed files with 55 additions and 7 deletions

View file

@ -26,4 +26,4 @@ func fire() -> void:
var molotov: CharacterBody3D = molik.instantiate()
Session.dynamic_objects_parent.add_child(molotov,true)
molotov.global_transform = machine.player_camera.global_transform
molotov.velocity = -molotov.global_basis.z * 25
molotov.velocity = -molotov.global_basis.z * 25 + machine.player.velocity