idk
This commit is contained in:
parent
ac6c4c433f
commit
553f8ea77a
7 changed files with 55 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue