Multiple Object

illusionillusion Member Posts: 4
edited November -1 in Working with GS (Mac)
Hi,

Am new here and wondered if someone could point me in the right direction :)

for example say I'm using this image image

I want to have a object which isn't quite round or rectangle, but the shape is important for its physics (1. on the example picture).

Now is there a way to make an 'super-actor' which can make up a number of actors (e.g. 2. on the example picture, of rectangle and circles physics) ?

Thanks

Illusion.

Comments

  • KamazarKamazar Member Posts: 287
    Indeed it is, but it'd be more of an illusion than anything else, and I'm not sure how it'd hold up. But worth a shot, huh? So, first, you take the horizontal rectangle in the middle, and use it as a base for the position of the other two shapes. What you're going to do is constrain the position of the other two shapes to that of the main actor, offsetting them by half the length of the rectangle. You're gonna have to create real value variables for every rectangle's X and Y position.

    So, let's say the main actor is 4 x 12, and you want to constrain the rectangle to the right of its curent position.

    Constrain Attribute "Rectangle 2's X Position" to "Rectangle 1's X Position + 6"
    Constrain Attribute "Rectangle 2's Y Position" to "Rectangle 1's Y position + 8"

    Tweak the numbers to get what you want. Hope this helps.
  • illusionillusion Member Posts: 4
    Hi,

    Thanks for your reply, yes that helps alot :)

    Thanks again

    Illusion
Sign In or Register to comment.