Help with constraining two actors

crapscraps Member Posts: 353
edited November -1 in Working with GS (Mac)
In the image you can see two actors - A which is the large circle and B which are small rectangles surrounding the circle. They will be invisible and provide the actor for a different actor C to bounce off of.

http://i53.tinypic.com/14d3r49.jpg

I will be having the circle "bounce" around in a confined area but need actor B (the rectangles) to be constrained to the circle while it moves.

Thoughts?

Comments

  • old_kipperold_kipper Member Posts: 1,420
    create two game real number attributes and from inside the circular actor constrain the new game attributes to the actor x and y. You can the in the outer B objects constrain their positions to the game attributes and then they will move with the circular A object.

    Hope that helps

    Kipper
Sign In or Register to comment.