Hey there! So, I want to make a system like GeoGuessr where you can scroll using the mouse and click on countries and such.
So, I have a minimap and how im setting the camera on the viewport frame is this:
Cam.CFrame = CFrame.new(HumanoidRootPart.Position + Vector3.new(0,4000,0), HumanoidRootPart.Position)
How would i make the map scroll/make the values change according to the mouse?
Thanks!
i think
Cam.CFrame = CFrame.new(HumanoidRootPart.CFrame) * Vector3.new(0,4000,0)
1 Like
It works perfectly fine but it goes with the player humanoid root part and im not able to interact with the viewport frame and like move it around like when you choose the location/area in geoguessr
Forummer
(Forummer)
August 11, 2022, 1:11pm
#4
If you need complete control over the client’s camera set the camera’s type to ‘Scriptable’.
https://developer.roblox.com/en-us/api-reference/property/Camera/CameraType
1 Like