Most efficient way to constrain 9 actors to constantly shifting X & Y coordinates...
jorkos
Member, PRO Posts: 353
Hey guys, I have a new game coming where the player first creates their character selecting the body parts from 9 categories. Screenshot below. The mix of the choices produces the look of the character (eyes, ears, etc.).
In the game, in order to use the custom character I use 9 different actors representing each earlier choice that sit on top of each other. My question, because I want the character to move around, what is the most code efficient way to constrain the position of all actors to one set of shifting X & Y real points. Thoughts? Ideas? Is there a way for me to snap some actors to other actors somehow?
Thanks
In the game, in order to use the custom character I use 9 different actors representing each earlier choice that sit on top of each other. My question, because I want the character to move around, what is the most code efficient way to constrain the position of all actors to one set of shifting X & Y real points. Thoughts? Ideas? Is there a way for me to snap some actors to other actors somehow?
Thanks
Comments
http://forums.gamesalad.com/discussion/62202/linkmachine
. . . for exactly this kind of thing, but I think 18 constrains might start to get a little cumbersome ?
Will the actor be rotating or will it always be upright (so you only need to constrain X and Y positions) ?