Gravity ... then make an actor non-moveable

beefy_clyrobeefy_clyro Member Posts: 5,394
edited November -1 in Working with GS (Mac)
Hi Everyone. I've been stuck on this for a while now and thought i'd come see if anyone can help. Basically, i have a block, it has an acceleration rule down to act as gravity. I have it set to collide with other blocks. This works fine but once it has fallen, i no longer want it to move. Other actors are currently hitting it and moving it once it has fallen. Any ideas are greatly appreciated, thanks

Comments

  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Create a non-movable actor with the same image.

    In the moving actor that falls have a rule that says

    Rule- when self.linear.motion.X=0
    ----spawn non-moving actor
    ----destroy
  • beefy_clyrobeefy_clyro Member Posts: 5,394
    Hey Scitunes. Thanks for your response. Problem with this, the block can move more than once. Imagine the block on a platform, below that is 2 other platforms, when you remove a platform (one at a time) it needs to keep dropping!
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    you can play with max speed as it can be changed at run time. So make sure the max speed box is checked in the physics panel of your block actor. Then you could have a rule that sets the max speed to 0. When the next platform is touched have a rule in the block that changes the max speed to 300 or something.
Sign In or Register to comment.