character animation

0 votes
dear sir,

i have already told you that character movement is working. it is repositioned to new position when i move it but it is moving without animation.
asked Jun 5, 2014 in AppWarp by mahesh.kumar.sahu150 (10 points)

1 Answer

0 votes

Important : When you have a query related to a previous question, post it as a comment in that answer only. Posting your comments as new question every time will be considered as spam and you will be blocked.

As I told you in my previous answer, all you need to do is decide whether the player is moving or standing still by comparing the new position with old position, if the player is moving for example, all you have to do is play the walk animation. As you yourself told that, your character is moving, so if you already know that your player is moving, you can also play the movement animation.

We already have a demo, for which I gave you the URL. In our sample, we only exhchange positions and comparing the positions we decide whether the player has moved our not. If he is moving, we simply play the moving animation. No need to send information regarding what animation is being played because it's obvious that if player is moving we have to play moving animation. You can check out the AnimationController.as script attached to the viking prefab in our sample. 

answered Jun 5, 2014 by Suyash Mohan (900 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...