Detect when actor is falling down only?

TouchTiltGamesTouchTiltGames Member Posts: 1,162
edited November -1 in Working with GS (Mac)
I can get my actor to play an animation if the linear motion on the Y is a certain speed of course..but I'm trying to only tell it to play an animation if it's falling down only. How would one go about this?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    you tried making a rule if attribute self. Motion. Linear Velocity. Y < 0 animate?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
  • TouchTiltGamesTouchTiltGames Member Posts: 1,162
    Yeah that detects the speed..not if it's falling down...
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    So basically you would replace the motion with a greater or less then position on the y axis. that should work right?
  • RHRH Member Posts: 1,079
    Velocity is a vector and takes into account direction so what JohnPapiomitis said will work. When Y velocity is less than 0 it will be 'falling down'
Sign In or Register to comment.