How to look an actor with another actor and rotate accordingly to the actor
Hello all again! Every time I rotate an actor, my shapes rotate; I have other blocks to constrain with another block to form these shape.
Let's say I have two actors: one actor is 1-Actor, second actor is 2-Actor.
When I rotate 1-actor, I need the 2-Actor to rotate with 1-Actor to stay in its right constrain-position with the 1-actor. But I don't know how to make that happen![:( :(](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/frown.png)
It's sort of like Tetris, where the shapes rotate and still the blocks stay in its right position. I need to know how to do the same thing and since you're not able to create customize shapes through GameSalad, this is a little difficult for me because I have to constrain each actor (block) to another block to create a customize shape.
Let's say I have two actors: one actor is 1-Actor, second actor is 2-Actor.
When I rotate 1-actor, I need the 2-Actor to rotate with 1-Actor to stay in its right constrain-position with the 1-actor. But I don't know how to make that happen
![:( :(](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/frown.png)
It's sort of like Tetris, where the shapes rotate and still the blocks stay in its right position. I need to know how to do the same thing and since you're not able to create customize shapes through GameSalad, this is a little difficult for me because I have to constrain each actor (block) to another block to create a customize shape.
Best Answers
-
tatiang Posts: 11,949
If it were me, I would create the appearance of rotating shapes by transposing a series of blocks from one set of locations to another set of locations. I'll see if I can get a demo working to show you what I mean. There would be no rotation involved.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
-
tatiang Posts: 11,949
It's been a few years since I've played Tetris, so I went with a rotation that was based on a single stationary block that everything rotates around. I just played an online version and I realize that's not how it operates, but maybe this demo will get you thinking of a way to do it:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers