Actor Bouncing Off Walls

SxarcisiousSxarcisious Member Posts: 45
edited December 2011 in Working with GS (Mac)
So I have an actor and a wall... When my actor collides with the wall and I let go of the joystick he either sits there and just rotates or is bounce off the screen. How would I fix this? Thanks

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    decide what you want the actor to do...then put that in a rule...
    when Actor receives event...overlaps or collides with actor...

    MH
  • SxarcisiousSxarcisious Member Posts: 45
    How do you make him to just stop if he hits the wall, but still be able to move? I did it to where he collides, his move stops, but then I can't move him with the controls.
  • SxarcisiousSxarcisious Member Posts: 45
    edited December 2011
    My Logic for the player is....

    bounce when colliding or overlap with 'wall'

    Now it works in the case that he does not walk through the wall, but it I let go of the joystick or stop moving, he either shoots across the screen or just rotates in circles(speeds of both of these vary)... How do I make it not do this?


    Ive looked at a few examples and they all just have the bounce when colliding on.. I don't know why it isn't working for me.
  • SxarcisiousSxarcisious Member Posts: 45
    Solved it! I had to check the Fixed Rotation box in the player actors attributes...
Sign In or Register to comment.