PCK File loader

This commit is contained in:
2023-01-02 17:55:28 +01:00
parent 4de8162f48
commit 701bcfd39c
11 changed files with 100 additions and 49 deletions

View File

@@ -90,7 +90,7 @@ func accelerate(delta : float, p_target_dir : Vector3, p_target_speed : float, p
func apply_friction(delta : float):
var vec : Vector3 = velocity
#var vec : Vector3 = velocity
var speed : float = velocity.length()
if is_zero_approx(speed):
velocity = Vector3.ZERO