Jump when collide with an actor

Hello every body, I'd like to make a question:
I have an actor like a ball (with aceleration 300 to 270 degrees, for make it gravity) and I'd like to make it jump when the ball collide with an other actor. How can I do it?

Thank you very much!!

Comments

  • EpicDevEpicDev Member Posts: 16
    Try putting the friction of the ball on "0".
  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    Define Jump? Increase the bounce for a real physics bounce. You need to be more detailed of what you want to do. Jump how? Jump over? Jump back? Be specific.
  • Enri_Enri_ Member Posts: 3
    Hello again. I want that the red ball jump when it collide over the green actor.

    https://www.dropbox.com/s/nu79cdw33z9zlio/ESQUEMA.jpg
  • KevinCrossKevinCross London, UKMember Posts: 1,894
    Can you not do this with a rule: if actor collides with actor of type/tag then change velocity? Set the direction as 0 (if that's up, not got GameSalad open) and then a number for the velocity it travels.

    It should drop after it's jumped if you have gravity set.
  • thumbfrenzylabzthumbfrenzylabz Member, PRO Posts: 50
    Rule:
    When redBall collide with actor of type greenActor
    --> try out using accelerate 300+ in direction 90
    or maybe
    --> changeVelocity greenActor.X

  • Enri_Enri_ Member Posts: 3
    It works perfect with changeVelocity.

    Thankssss!!!!!
  • thumbfrenzylabzthumbfrenzylabz Member, PRO Posts: 50
    no worries :D
Sign In or Register to comment.