i need help with this mechanism
guilleface
Member Posts: 1,014
hi, ok this is what i need, i have a screw/nut in the scene and i want to drag a wrench from my inventory to the screw and then like rotate the wrench to rotate the screw,thank you
Comments
as far as I know you'd need to be able to adjust an actor's anchor point to do that (or parent actors) and as far as I know there's no way to do that in GS. I hope I'm wrong because I would love those features.
Or... I just realized a work around but you'll have to figure out the math... you can change the actor's rotation to be the vector between the wrench and the screw, and then constrain its x position by the mag from the wrench and the screw as it moves in Y- then X+ then Y+ etc.
yeah i figure there will be some crazy math which iam not good at that, but i know there are some crazy dudes here with that knowledge to come with some crazy long formulas lol
@Natedawggh Check out the Link Machine: http://forums.gamesalad.com/discussion/62202/linkmachine
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User