Added basic logic for water pistol firing
This commit is contained in:
@ -90,7 +90,6 @@ class System is Modifier {
|
||||
data.input_target = Math.normalized(Math.mult(Transform.local_dir_to_world(_camera, right + left, 0, fore + back), [1, 0, 1]))
|
||||
data.input_target = move_toward_vec(Character3D.get.input(player), data.input_target, data, delta)
|
||||
|
||||
var sprint: Bool =
|
||||
Character3D.set.speed(player, Input.event_active("run", "game") ? data.speed_run : data.speed_walk)
|
||||
|
||||
if (Input.event_began("jump", "game") && data.is_grounded) {
|
||||
|
||||
Reference in New Issue
Block a user