Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I go about detecting where a player is currently looking?

Asked by
zyrun 168
6 years ago

I am making a script where I need to make a clone of the player's character rather than use the character itself, but I want the camera to stay in the position that the player had it in (maybe zoom it in if they are zoomed out to far.) I already have the server sending a signal to the player via remote event, but I want to know how to get the position of the camera that the player had it in so I can perfect the cut-scene.

1
Take a look at lookVector http://wiki.roblox.com/index.php?title=CFrame#Properties (pun intended) T0XN 276 — 6y

1 answer

Log in to vote
2
Answered by 6 years ago

I'm not sure exactly what will help you the best, but I assume you could find what you're looking for on this page.

Ad

Answer this question