Keeping an actor in a circle

Sheldon392Sheldon392 Member Posts: 43
edited November -1 in Working with GS (Mac)
I need to keep an actor in a circular area but when i place the circle it acts like it is a square. I need to keep the actor in just the circular area like how a thumb stick never leaves the circle it is on.

Comments

  • old_kipperold_kipper Member Posts: 1,420
    If you want the actor to bounce off the inside of a circle than you have to make invisible actors and arrange them so it bounces off. These invisible actors can be rotated to produce a reasonable using surprisingly few of them. It will depend on the size of the circle.

    Otherwise it is constraints or rules sets that work to keep that actor within the area you want. A magnitude from a certain spot will work if you then make rules that check this magnitude and use either a constraint or other rules that limit the actor from travelling further.

    hope that helps

    kipper
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    http://gamesalad.com/game/2907

    Search the title of the demo in the gamesalad creator to open the project

    cheers
Sign In or Register to comment.