[유니티]Lerp , SmoothDamp
https://www.youtube.com/watch?v=_QOvSLCXm7A&t=331s 오늘 코딩님의 Lerp관련 영상을 보고서 원래 가지고 있던 궁금증이 풀리게 되었다 using System.Collections; using System.Collections.Generic; using UnityEngine; public class LerpSmoothDamp : MonoBehaviour { public Transform EndPos; // Update is called once per frame void Update() { transform.position = Vector3.Lerp(transform.position, EndPos.position, 10 * Time.deltaTime); } } 위 코..
2023.03.01