Godot Version
Godot v4.6.3.
Question
I am quite new to coding and I am trying to figure out how to make my crouching here be smooth and not instant snaps but I am not sure where I can fit in lerp
playerbody is my CharacterBody3D
if Input.is_action_pressed("crouch") and is_on_floor():
playerbody.scale = Vector3(1.0, 0.5, 1.0)
else:
playerbody.scale = Vector3(1.0, 1.0, 1.0)