- take a screenshot
- run massive skeletal detection on it to get the skeletons of any humanoids
- of those skeletons, pick a target closest to the player
- for that target, get coordinates of head node
- run a PID to control the cursor to where the head node is located
- move the camera one frame, repeat the whole process. If you can fit that pipeline to 16ms it can run in real time.
reply