Saturday, 29 January 2011

Swing those hips now…

After days of banging my head against a wall and using various code to control my character, but with no luck giving it a walk cycle beyond a single repeating loop…

I decided to try a new tactic!

Digging out the Unity default JavaScript, I used the pre built character controller to move my character, and the result? (After more head banging hours of trying to make it go)

An animated character!



This allows me to give the character standing, walking, running and jumping animations. Everything I need to give it some real character!

Mechanic wise, this also offers me jumping and running, both of which I can change (A game with super speed or super jumping, perhaps?)

With this, I have done my first round of tests! Next up? Triggered events! (Oh this will be fun.)

3 comments:

  1. Congrats!! I know just how hard you worked on this and with brilliant result!

    Well done!!!

    ReplyDelete
  2. Awesome stuff, dude! I can't actually think of anything more frustrating than trying to get something computer based to work! He's a funny little bald bugger isn't he? Is the project to model and animate him or is it based on a game concept?

    ReplyDelete
  3. Any progress getting the Unity Web Player to play from within the blog?

    ReplyDelete