Calculate 3D position offset for step direction
Converts step direction to normalized 3D vector for character movement. Diagonal steps have shorter individual x/y components to maintain consistent 30cm total distance.
Step direction
3D position offset [x, y, z] in meters
발걸음방향벡터계산
Calculate 3D position offset for step direction
Converts step direction to normalized 3D vector for character movement. Diagonal steps have shorter individual x/y components to maintain consistent 30cm total distance.