[Help] How to pick up an actor from a specific point ?
Sandbird
Member Posts: 69
I am trying to figure out how to do this but i cant seem to find a similar example or demo that could help me.
Lets just say i have a big square actor. I want to be able to pick the actor up (while dragging the mouse) from any point inside the actor, and the rest of its body will move according to the gravity and picking point.
For example i am picking it from the right top corner and while lifting it up, the right corner is under my mouse touch and the rest of the square just hangs under it. Imagine a fork lift lifts it up and the body of the square reacts according to the picking point.
Is this possible ? or am i dreaming here ?
Thanks
Lets just say i have a big square actor. I want to be able to pick the actor up (while dragging the mouse) from any point inside the actor, and the rest of its body will move according to the gravity and picking point.
For example i am picking it from the right top corner and while lifting it up, the right corner is under my mouse touch and the rest of the square just hangs under it. Imagine a fork lift lifts it up and the body of the square reacts according to the picking point.
Is this possible ? or am i dreaming here ?
Thanks
Comments
Yeah thats what i want. For example if you pick it up from the bottom left corner , when you lift it up it will rotate clockwise and hang from that corner.
If you pick it up from the center of the square it will be the same as if you do the constant update self x and y with mouse x,y cause there is no "rotation" needed.