Collide on touch?

EclipseGamersEclipseGamers Member, PRO Posts: 91
edited May 2014 in Working with GS (PC)

hi, im trying to get a ball to bounce off a touch! so then when i click/touch the ball i want it to bounce upwards? any help?

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited May 2014

    Put a rule on the ball like this:

    When touch is pressed
    
    Change Attribute Self.Motion.Linear.VelocityY to a positive number
    

    You'll probably want some gravity in your scene or faked gravity using an Accelerate Behavior to bring your actor back down after the bounce up.

Sign In or Register to comment.