So, I am implementing a functionality for players to sidestep, roll, backflip, etc. upon double tapping certain keys. All this is fine - in first person - because to determine the direction the player will move, I have been using the vectors associated with their character's HumanoidRootPart. To accommodate third-person play as well, I would like to use vectors associated with the player's camera position instead (so that if the camera is facing in a direction different from that of the root part, the character will still move in a direction, such as left, in reference to the camera). Is there any way to do this? Thanks in advance to anyone who can help.
COMMUNITY QUESTION
How to Get Vectors of a Player's Camera?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
camera.CFrameshould be what you want? You can find the vectors by doingcam.CFrame.LookVector,.RightVector, etc.