Maze Game - How To Rotate The Face In A 4 Way Swipe Control?

Discussion in 'How Can I...?' started by tributorock, Dec 22, 2021.

  1. tributorock

    tributorock Avid Boxer

    Joined:
    Feb 6, 2016
    Messages:
    222
    Likes Received:
    60
    Hi Guys,

    I am making a game like pac man and i need to rotate the face of my character when i am moving on the maze. And also i need to stop walking animation when my character collide with maze wall corners. I will use a human as a character so i need to rotate the body when he is waking and stop animation when he stops on corners.

    BBDOC link : https://drive.google.com/drive/folders/1tq6I1BHxR99CyR3haAd1UcvpBPyVnoYG?usp=sharing

    upload_2021-12-22_17-22-5.png

    upload_2021-12-22_17-22-31.png
     
  2. Elite Games

    Elite Games Avid Boxer

    Joined:
    Dec 18, 2019
    Messages:
    184
    Likes Received:
    84
  3. tributorock

    tributorock Avid Boxer

    Joined:
    Feb 6, 2016
    Messages:
    222
    Likes Received:
    60
    Thanks man. Do you think that it works with a human fbx animation with running animation?
     
  4. Elite Games

    Elite Games Avid Boxer

    Joined:
    Dec 18, 2019
    Messages:
    184
    Likes Received:
    84
    It will work i think, you have not added the animated character for test so i was not able to test. Make sure to put your character in facing z direction. Like i did with cube.
     

Share This Page