This commit is contained in:
Lera Elvoé 2025-02-14 22:43:33 +03:00
parent ea4504bdb4
commit 651ea584af
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc
3 changed files with 0 additions and 3 deletions

Binary file not shown.

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())

View File

@ -32,8 +32,6 @@ function game_tick()
end
player:tick(ctx)
-- draw_camera{position = Vector3(0, 1, 0), direction = Vector3.FORWARD}
-- draw ground
local q = util.create_plane_quad(Vector3(0, 0, 0), Vector3.UP, 20)
local params = {
texture = "images/measure001a.png",