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
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.
SlickZeroHouston, TexasMember, Sous ChefPosts: 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.
Comments
like a joint? or just stuck together in a line?
i can show you in image if u didnt see that game.
this is what i want :
image :
http://uploadtak.ir/images/153tu2r3c9wrb7nym2w.jpg
constrain one actor to an offset location on another
if Yes please tell me how !!!
5 actors all doing this is going to kill your performance on older devices. Really I would reconsider doing this project in GS.
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.