Rpg Character Movement Like The Youtube Example

Discussion in 'How Can I...?' started by Arthur Marinho, Jun 23, 2019.

  1. Arthur Marinho

    Arthur Marinho Boxer

    Joined:
    Feb 13, 2019
    Messages:
    9
    Likes Received:
    2
    Hello everyone, I'm having trouble reproducing the "rpg" tutorial that you have in the video of buildbox 3, anyone ever had success doing this type of movement?
    I'm moving the character with the touch move, but I can not get him to spin, making him always look forward

    Video:

    Thanks!
     
  2. mamal

    mamal Boxer

    Joined:
    Jun 8, 2019
    Messages:
    43
    Likes Received:
    4
    you'd have to edit the touch rotate node.
    and what need to be done is a function that compares where the character is located and where the pointer is pointing,
    so it subtracts their values and return a number which with some calculations can be used to face your character that way.

    PS, heyyyyy treeeey i guess you need to add this FACING function to the node as well , i'm sure it will come handy and i can give you a hand if you needed help with it.
     
  3. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195

Share This Page