Math For Game
Oct 10, 2023
1 min read
Updated: Oct 16, 2023
--------------------------------------------------------------------------------------------------------
Dot Product
Unity : Vector3.Dot
Use case 1 : หาทิศทาง Enemy ว่าาอยู่ข้างหน้าหรือด้านหลัง
Use case 2 : ใช้ทิศทางแสงและเงาบนตัวละคร
Comments