playMaker

Author Topic: How do I set different animations for jumping and sliding? With fsm  (Read 533 times)

jesimielxd

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
I want to know how to automatically make a character to start running and when to jump or slide when approaching and obstacle. Thanks in advance.  ;)
« Last Edit: May 12, 2017, 12:26:09 PM by jesimielxd »

Ofonna

  • Full Member
  • ***
  • Posts: 230
    • View Profile
use raycasts and set the distance based on your jumping or sliding animations, let the obstacle have their layers as well e.g sliding or jumping layer.

jesimielxd

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Ok..thanks I will try that.