Area with no Gravity

PadGamesPadGames Member Posts: 2
edited November -1 in Working with GS (Mac)
Hi,

Am new to GameSalad, just about mastered the basics however cannot seem to solve this challenge:

1) To have an area of a scene (a large square Actor) where gravity does not apply (scene is set to have gravity of 500).
2) So when my Player moves over this Actor, it floats and only moves when Player movement is applied with the controls.

Am I missing something obvious?

Any help/ideas would be greatly appreciated!

Thanks
Mark

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    you would need to set up a Rule in your player like this:

    Rule
    When Actor collides or overlaps with Actor of Type GravivyFreeZone
    Accelerate (Direction:90, speed: 500)

    hope this helps!
    joe
  • PadGamesPadGames Member Posts: 2
    Excellent, thanks for your help Joe!
  • ORBZORBZ Member Posts: 1,304
    Also, you can set the density of your actor to 0 and it will float.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    @ORBZ: actually, setting the Density to 0 has the same effect as setting its Movable property to FALSE - both of which cannot be changed at runtime...
  • ORBZORBZ Member Posts: 1,304
    Oh really, density can't be changed at runtime? Hmm... I could have sworn I did this once. Perhaps it was late and I'm confusing it with something else I changed at runtime :) My mistake.

    Anyhow, not quite the same as setting movable to false as watch what happens when a projectile hits an object with a density of 0 ;) Whoooosh!!!! Boooiiing!
Sign In or Register to comment.