This commit is contained in:
2025-02-14 22:43:33 +03:00
parent ea4504bdb4
commit 651ea584af
3 changed files with 0 additions and 3 deletions

View File

@ -35,7 +35,6 @@ function Player:tick(ctx)
local direction = ((camera_forward * forward_input) + (camera_right * strafe_input)):normalized()
local target_vel = direction * self.speed
self.velocity = self.velocity:lerp(target_vel, self.accel)
-- self.velocity = target_vel
if input_action_just_pressed{name = "throw"} then
self.ThrowPressed:emit(self.position:copy(), camera_forward:copy())