Answered by
4 years ago Edited 4 years ago
The methods of CFrames sound pretty handy in this case..
assuming you have access to the player's character, here's a method that might hopefully work
01 | local RunService = game:GetService( "RunService" ); |
03 | local camera = x.y.Camera |
04 | local character = x.y.Character |
06 | RunService.Stepped:Connect( function () |
07 | camera.CameraType = Enum.CameraType.Scriptable |
08 | local head = character.Head; |
10 | local behind = head.CFrame:ToWorldSpace(CFrame.new( 0 , 0 , 10 )); |
11 | camera.CFrame = CFrame.new(head.Position, behind.Position) |