Forum rules - please read before posting.

Can't move first person camera while using Joystick

Hello everyone, i'm trying to use joystick in my AC's first person mobile game,
but it seems like my first person camera isn't rotating while i drag
the second joystick, any ideas? o:)

Here's my Screenshot and screen recording

https://drive.google.com/drive/folders/1Z2grZCw8tF7uUopi3nP2m-YcWMPodmsz?usp=sharing

also i'm using joystick which i found from AC's Download page : UI Template Mobile joystick:
https://adventurecreator.org/downloads

Comments

  • Welcome to the community, @rome.

    I've tested this on my end, and it looks like it might be that the default settings cause it to turn - just very slowly.

    In your Mobile Joystick prefab's "Joystick UI" component, try raising the Effect scaler field to something larger, e.g. 10.

    If that has no effect, can you share screenshots of your Player prefab, as well as their First Person Camera object? Check also the Console, as it may report any issues AC has auto-detected.

  • edited February 16

    It's working @ChrisIceBox !
    I change that effect scaler up to 2000.

    Now i facing another problem, as you can see this is a mobile game
    which is use multitouch to control both joystick,
    When i landed just one touch, the joystick behave normally,
    but when i landed two touches on each joystick, it seems the joystick just recognize the last touch, so the multitouch isn't working.

    My screen records and AC's setting :
    https://drive.google.com/drive/folders/1AuZi93tXN6OeELj4U6NHKJWlqvbDcT44?usp=sharing

  • When run in the Editor, the joystick input only reads the mouse input. Is this issue occuring in a standalone build on your mobile device?

  • edited February 16

    @ChrisIceBox
    Just build it to apk then i tested it on my android,
    the multitouch really works!.

    Does AC's also provide option so i can rotate the camera if the touch is
    outside the first joystick and not limited to second joystick boundaries?
    Somethings like pubg mobile control while controlling camera.
    Example: https://youtube.com/watch?v=ikxcj55BBuE
    Jump to 13:51

    Or i must write custom script for it?

  • I've made some adjustments to the package - re-download the Mobile Joystick template and import it.

    You won't need to re-apply the Template - importing the scripts is enough. However, you will need to lower the Effect scaler field again, as I've made an adjustment to prevent the need for the higher value.

    With this update, you can then overlap the joysticks - so it should then just be a case of making the Camera joystick fill the screen, and disable its Image components so that it's invisible.

  • Hey @ChrisIceBox ,

    Thank's for updating the mobile joystick.
    It's work perfectly now o:) ,
    Anyway, enjoy your weekend!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.