#how to make a npc constantly look at the player
7 messages · Page 1 of 1 (latest)
Check out CFrame.lookAt()
im not sure if thats legal to send links to yt videos here but i guess i found the video you want
https://www.youtube.com/watch?v=RwhwbPiBMnc
In this tutorial I'll be showing you how to make a NPC, that will look at the nearest player. Enjoy!
! WARNING !
I didn't mention that on the video, but the model does not work when its orientation is different from 0,0,0. To fix this, change the line
neck.C0 = cframe0 * CFrame.new(Vector3.new(0, 0, 0), unit)
to
neck.C0 = cframe0 * CFrame.new(V...
i think even if its not what you exaclty wanted its still gonna help
** You are now Level 4! **
Is this not the conventional way to do so? Why the downvotes