|
-
That works fine for the first time you drag, you just move the child one way and the parent the other.
But once you have rotated it and released, the next time you grab, you have to start thinking about trig functions to find how much to move it by.
I've found the code to do it by decompiling the example I posted, but damn, that's a lot of code. It must have been a college project because it has force, weight and inertia and uses proper physics. There's no way you'd put in that much effort for a client 
I guess I'll just pick through his code and try to sort it out. I'll update this thread with the code when I do, thanks for the help guys.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|