Confusion :(

jadjad Member Posts: 135
edited November -1 in Working with GS (Mac)
I am trying to make a simple game here, but I can not get part of it to work. I have an animal fall onto a board, and the board is supposed to move back and forth and yet NOT fall away/bounce when the animal hits it. How do I do this? I tried unchecking moveable (which i've done before) but for some reason it does nothing to the actor (I have not been editing an instance of an actor) here is the link to that bug/glitch/problem on my part http://cl.ly/1a1Z0E0x0P2f381F0c0h. How do I do the above, i'm sure there's a simple way to do it, but I can't think of it...

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Constrain the y variable to the location you want, then it won't move up or down
  • jadjad Member Posts: 135
    I just did that, "constrain attribute self.position.y to 100" (on iPad), the block pops over to that position, but as soon as the animal hits the block generally stays on the y axis, but spins wildly.
  • LiquidGameworksLiquidGameworks Anchorage, AKMember, Sous Chef Posts: 956
    Try checking "fix rotation". It will be near the moveable option.
  • jadjad Member Posts: 135
    alright, thx, I sort of found a solution
Sign In or Register to comment.