i need help with this mechanism

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

  • natedawgghnatedawggh Member, PRO Posts: 34

    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.

  • natedawgghnatedawggh Member, PRO Posts: 34

    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.

  • guillefaceguilleface Member Posts: 1,014

    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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited March 2014

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.