alleged fixes
This commit is contained in:
parent
e6a47a4772
commit
f99108c4f0
4 changed files with 7 additions and 6 deletions
|
|
@ -1,8 +1,9 @@
|
|||
extends CharacterBody3D
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
|
||||
velocity += get_gravity() * delta
|
||||
if is_multiplayer_authority() == false:
|
||||
return
|
||||
velocity += get_gravity() * delta / 4
|
||||
|
||||
if is_on_floor():
|
||||
var fire: Node3D = preload("res://weapons/molikman/molik/molikman_molotov_fire.tscn").instantiate()
|
||||
|
|
|
|||
|
|
@ -25,4 +25,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 * 100
|
||||
molotov.velocity = -molotov.global_basis.z * 25
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue