#Custom Camera movement Mobile bug

1 messages · Page 1 of 1 (latest)

narrow marsh
#

can somebody help me figure out how to make my script ignore the thumbstick when using .TouchedMoved

    if input.UserInputType == Enum.UserInputType.Touch then
        xAngle = xAngle-input.Delta.x*0.4
        --Clamp the vertical axis so it doesn't go upside down or glitch.
        yAngle = math.clamp(yAngle-input.Delta.y*0.4,-80,80)
    end
    
end)```
neon basalt
#

@neon basalt

#

@narrow marsh

narrow marsh
#

yo

neon basalt
#

So whats your issue\

narrow marsh
# neon basalt So whats your issue\

this code is a custom camera thing it uses mouse movement but when i tired to implement it in mobile with touched moved it executes even if the player uses thumbstick to move

neon basalt
#

touchpad?

narrow marsh
narrow marsh
narrow marsh
#

Fixed it

neon basalt
#

When I an mobile player I hated that

#

Please make that an setting for your game

#

optional please

narrow marsh
#

fixed it already saw it in forums