1
dir + hit.normal * (-2 * Vector2.Dot(dir, hit.normal));
cs


dir은 물체가 향하는 방향

노말은 레이캐스트나 OnCollisionEnter 같은걸 사용해서 구할 수 있음

블로그 이미지

stuban

ㅇ.ㅇ

,