playMaker

Author Topic: Character controller and animation  (Read 1380 times)

24pfilms

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Character controller and animation
« on: August 11, 2013, 05:14:20 PM »
My character is a sea monster. I have 6 different animations in fbx files.
I am trying to set it up so it can work off of the arrow keys...
Something like:
No input- idle state
up arrow-swim
spacebar-swim aggressive
etc

I have made a 3rd person character controller, but non-of the arrow keys translate to drive the animations.


sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: Character controller and animation
« Reply #1 on: August 11, 2013, 11:12:58 PM »
Hi, not sure if you checked out all the tutorials yet but I would definitely recommend checking them all out so you can see what you can do before getting started on the game... but anyways to answer your question...

To start off you can go with you would create an fsm on your sea monster with a  listen state that  with these actions (play animation) idle and another action (get key down) for the up arrow that transitions to - swim state with a (play animation) swim and (get key up) for the up arrow to transition back to idle.

You can also use (axis event) instead of get key down or get key up. But all this is explained and more in the tutorials with much greater detail Also get the examples in the wiki so you can see how other games are done.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

24pfilms

  • Playmaker Newbie
  • *
  • Posts: 16
    • View Profile
Re: Character controller and animation
« Reply #2 on: August 12, 2013, 08:11:15 AM »
Thank you, no problem with a bi-ped. But challenged with monsters;)

sebaslive

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
    • Frame Tale Studios
Re: Character controller and animation
« Reply #3 on: August 12, 2013, 10:30:02 AM »
Ah okay, cool let me know how it goes or if any questions maybe I can help with
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez