[Need helps] Character movement again...

Discussion in 'How Can I...?' started by convitza, May 10, 2016.

  1. convitza

    convitza Boxer

    Joined:
    Apr 4, 2016
    Messages:
    28
    Likes Received:
    8
    Hi guys,
    I know this is an old story, but I still don't know yet.

    I'm trying to make the main character moves like Line Zen game.
    As you can see, when you drag to move left or right, the character slightly rotate (30 degree left and right?) according to the direction of your finger.
    Could any one help me to figure it out?
    I already added joystick controller and also can move left & right following my finger. But please take a look at the video. when player's dragging, the character is ROTATED, to the left, and it's back to straight position when we stop dragging. that is what I don't know how to do.
    From 0:29 to 0:31 is exactly what I want to do:

    Please help and thank you so much.
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    start with these settings in your character settings and play with the circled ones, make sure the checkboxes match the picture
    Screen Shot 2016-05-10 at 4.54.53 AM.png
     
    edwin_simonds and convitza like this.
  3. convitza

    convitza Boxer

    Joined:
    Apr 4, 2016
    Messages:
    28
    Likes Received:
    8
    Thank you so much @heathclose this is exact what I want :) I've played with these number but I don't know that this works for Circle body shape ;)
     
  4. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
    it works for circle body shape if it has markings that make it clear it is rotating... i.e. eyes or face or something.... throw an emoji in there and you will probably see it is rotating...
     
    convitza likes this.
  5. convitza

    convitza Boxer

    Joined:
    Apr 4, 2016
    Messages:
    28
    Likes Received:
    8
    Hi @heathclose , these settings help to make the character rotate according to the finger dragging. But it seems like this can't help to rotate it back when the finger's not moving and the character keep rotate too much to the left, or right randomly.
    Is there any setting we've missed?
    Thanks,
     
  6. edwin_simonds

    edwin_simonds Boxer

    Joined:
    Oct 12, 2015
    Messages:
    82
    Likes Received:
    39
    The settings seem to work but the same issue is occurring where my character keeps rotating even when it stops moving left right
     

Share This Page