Forum rules - please read before posting.

Camera Movement Joystick

I have learned about mobile joystick tutorial from here >>vv https://adventurecreator.org/tutorials/mapping-inputs-screen-joystick I used " simple touch controller asset " for my 3rd person mobile game. Your tutorial is perfect but it only for character movement.So ,How about Camera movement control with joystick??It included in " Simple Touch controller prefabs. I want left side joystick for Character Movement and Right side joystick for Camera Movement. Please,can u make me tutorial for Camera Movement Joystick? Thank you verry much. I really need that tutorial because i am beginner level. Thank you :)

Comments

  • Welcome to the community, @John_Perkins21.

    Your scenario is quite specific, and the tutorial is more intended to demonstrate the principles involved in integrating custom joysticks.

    What kind of camera are you using?  A "GameCamera Third Person", or a custom camera script?

    If you're using a "GameCamera Third Person", you just need to define input axes for that camera's Inspector - the "Input axis" fields for both the Spin and Pitch rotation panels.

    Name these as e.g. "SpinCamera" and "PitchCamera" respectively, and then you just need to update the script to rely on a second joystick when those inputs are requested, e.g.:

    http://pasteall.org/962241/csharp
  • Thank you @ChrisIceBox .I used Game camera third person.. and i got what i want. :smiley: =D> Thank for your coding and tutorial
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.