how to connect actors in end point?

mignonmignon Member Posts: 41
edited November -1 in Working with GS (Mac)
hi all
how can i connect 5 actor in the end point of next actor?

Comments

  • StusAppsStusApps Member, PRO Posts: 1,352
    how do you mean?

    like a joint? or just stuck together in a line?
  • mignonmignon Member Posts: 41
    like a joint
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    mignon said:
    like a joint

    We currently dont have joints, sorry. There on the roadmap for the future though.
  • mignonmignon Member Posts: 41
    but I saw it in Bumps game, the circle character has 2 eyes which they were connected to it.
    i can show you in image if u didnt see that game.
  • StusAppsStusApps Member, PRO Posts: 1,352
    Sure but they can't wobble about like a joint. you can constrain one actor to an offset location on another
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Yes like stusapps said you can constrain actors to each other, but they wont act like a true joint.
  • mignonmignon Member Posts: 41
    i can constrain 2 object together but i dont know why it happend to the center of 2 objects not the offest location. i want to constrain one object to the end of the another object.
    this is what i want :
    image :
    http://uploadtak.ir/images/153tu2r3c9wrb7nym2w.jpg
  • mignonmignon Member Posts: 41
    please answer me , it is important for me , if u more details i can explain more.
  • mignonmignon Member Posts: 41
    thanks ShineyGame but if I rotate the the main actor, the other actor stay and doesn't move
  • brainsaladbrainsalad Member Posts: 35
    Mignon , did you test this method :
    constrain one actor to an offset location on another

    if Yes please tell me how !!!
    :(((((
  • StusAppsStusApps Member, PRO Posts: 1,352
    ultimately you are not going to get the full effect you are after easily. If you want it to be able to rotate then you would need them both to rotate around an offset point. That'll need a lot of maths and more and more constrains hurts performance. (I believe there is a tutorial somewhere for rotation around a specific point).

    5 actors all doing this is going to kill your performance on older devices. Really I would reconsider doing this project in GS.
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Deja Vu!

    No matter how many different ways you want to try, there are no joints in GameSalad. You can constrain an actor another with an offset to get the constrains you want, but it will not act like a joint. When you do a constraint to an X and Y of another object, you just add +20 or -20 or whatever number you need that works on the X and Y values. And like was stated, the math to make them follow around each other is difficult, and strenuous on the processor. And will hurt performance greatly.
Sign In or Register to comment.