x


Grab/Throw Parenting

I am trying to figure out how I could have one Player throw an Enemy by the Enemy's foot. My idea is to have an empty gameobject on the Player's hand, and when grabbed, the Enemy would follow the Position/Rotation of the empty gameobject until he is let go. This way, I could move the empty game object accordingly until it lines up the foot with the hand.

I think that way will work, but are there any others? I ultimately would need some form of dual parenting, where the Enemy would follow it's Foot's position, but without distorting the bone connections. The problem with my first solution is that the object might not line up with different enemies due to their pivot points not always being the same.

If somebody could tell me if I'm on the right track, or tell me of another way to handle this grab/throw mechanic, it would be highly appreciated.

I understand that this isn't a typical question, but if anyone's willing to lend me a quick answer it would be greatly appreciated.

more ▼

asked Mar 31 '12 at 09:33 PM

Xatoku gravatar image

Xatoku
152 73 81 88

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Yeah that's right, translate and rotate of the hand adds translate and rotate to the enemy.

more ▼

answered Apr 01 '12 at 04:48 PM

garner gravatar image

garner
120 1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x315
x253
x135
x39
x33

asked: Mar 31 '12 at 09:33 PM

Seen: 632 times

Last Updated: Apr 01 '12 at 04:48 PM