#How to freeze the Camera in my World

1 messages · Page 1 of 1 (latest)

umbral loom
#

First of all, you can add this line in the OnStart Function, just after Client.OnStart = function():

Pointer:Hide()

Then we will assign the freezing of the camera to the 3rd Action (the right click on the mouse)
I recommend to add this after the Action 1 and Action 2 functions:

Client.Action3 = function()
    cameraFree = not cameraFree
    if cameraFree then
        Camera:SetModeFree()
        UI.Crosshair = false
    else
        Camera:SetModeThirdPerson(Player)
        UI.Crosshair = true
    end
    Pointer:Hide()
end

And just with this, you'll be able to freeze and unfreeze the camera when using the Action 3 🙂

ionic horizon
#

I was able to do it! Thanks!
One more question, I couldn't find action 2 in my world code, do I need to add it?

umbral loom