playMaker

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

jesimielxd

  • Playmaker Newbie
  • *
  • Posts: 6
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, 03:26:09 PM by jesimielxd »

Ofonna

  • Full Member
  • ***
  • Posts: 230
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
Ok..thanks I will try that.