Cannon Rotating to Position and Point of Rotation
Kamazar
Member Posts: 287
Alright, so two problems that kinda go hand in hand.
1) So I have a cannon, and when I touch a point above it, I want it to rotate to that point. I set up a "rotate to position attribute" and plugged in the mouse's X and Y position, buuuut that didn't really work. I tried using some stuff from the cannon template, no luck there, either.
2) Can I change where the cannon rotates from? Instead of rotating around the center, can I have it rotate from -20 pixels from the center? If that makes sense?
I really need to start using GS more often. I keep forgetting things every time I take a break :P
1) So I have a cannon, and when I touch a point above it, I want it to rotate to that point. I set up a "rotate to position attribute" and plugged in the mouse's X and Y position, buuuut that didn't really work. I tried using some stuff from the cannon template, no luck there, either.
2) Can I change where the cannon rotates from? Instead of rotating around the center, can I have it rotate from -20 pixels from the center? If that makes sense?
I really need to start using GS more often. I keep forgetting things every time I take a break :P