I don't know what I did wrong so I need help.
my code is:
if isjumping
_velocity.y = jumpstrength
snapvector = Vector3.ZERO
elif justlanded:
_snapvector = Vector3.DOWN
velocity = moveandslidewithsnap(velocity, snapvector, Vector3.UP, true)
if _velocity.length() > 0.2:
var look_direction = Vector2(_velocity.z, _velocity.x)
func process(delta: float) -> void:
springarm.translation = translation