Actor gravity when touch released?

JamieOneilJamieOneil Member Posts: 877
edited November -1 in Working with GS (Mac)
How to i make an actor get gravity only when touch (click) is released ?

thnks

Comments

  • JamieOneilJamieOneil Member Posts: 877
    tshirtbooth said:
    hi there,

    Its best to not use gravity.
    On all the actors you want to be effected by gravity use an accelerate down behaviour relative to scene.

    Then you can do this

    when touch is release
    change self.gravity to true

    and have a rule
    if self.gravity is true
    accelerate down behaviour relative to scene

    hope that helps.

    cheers

    _________________________________________________________________________________

    FREE Training videos by TshirtBooth HERE
    Menu System #2 Template HERE
    Cover flow Template HERE
    Tiki Totem Template HERE
    Missile Command Template HERE

    Yess it worked :) thanks your the best !
Sign In or Register to comment.