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

How to make a top down shooter camera?

Asked by 5 years ago

I don't know how to make a top down shooter camera, and the tutorials I've found don't help with controlling the camera with your mouse.

How do I make a top down shooting camera?

1 answer

Log in to vote
0
Answered by 4 years ago
01-- Place into StarterPlayerScripts as a LocalScript --
02 
03local Player = game:GetService("Players").LocalPlayer
04local Character
05local Humanoid
06local Camera = workspace.CurrentCamera
07 
08local RunService = game:GetService("RunService")
09 
10-- Configurable Settings
11local Dampening = 1000 -- Higher number makes it take longer to reach its destination
12local Power = 10000 -- Higher number means more power
13local MaxForce = Vector3.new(4000, 4000, 4000) -- Max amount of power that can be applied on each axis
14--------------------------------------------------------------------------------------------
15 
View all 57 lines...
Ad

Answer this question