What is your current one from the template doing or not doing? Do you just want it to follow the mouse like that vid you showed? TSB, is also very good on follow up questions regarding his templates, if you dont get help here its worth emailing him to see if he can give you the answer you need.
But for some reason when I changed images I made an extra image over lapping the cannon as a hinge image to give it the illusion of being 3d but for some reason th cannon moves somewhere else and doesn't stay on the hinge
Comments
If you wish to create it then thats 2 separate actors and the actual piece rotating inside will have the following constrain;
Constrain Attribute: Self.Rotation to vectorToAngle(game.Mouse.Position.X-self.Position.X,game.Mouse.Position.Y-self.Position.Y)
heres what i have:
http://i51.tinypic.com/15rfkw2.png
any clue what i have to edit?
But for some reason when I changed images I made an extra image over lapping the cannon as a hinge image to give it the illusion of being 3d but for some reason th cannon moves somewhere else and doesn't stay on the hinge
But when the mouse moves the cannon gets out of place