x


LocomotionSystem for preventing punching arm to go through head?

I am developing a boxing game, and i would like to implement physics, but after days of fiddling with animations and physics in Unity I have come to the conclusion that I can not make it work correctly. What I want is the following:

  1. Animate some punches on a character, preferably in Blender, but Maya is okay.
  2. Import the character with animations into Unity.
  3. Play a 'punch' animation where the hand hits the face. The face is pushed back, and the hand is more or less stopped depending on the mass of the head etc.

The imported animation has the hand completely following through the whole punch, stretching the arm, but I hope that animating with IK's and Unity's LocomotionSystem can make the arm stop at the opponents face.

Does anybody know if this can be done, and if so, can I implement this in a couple of weeks? (I have some months experience with both Unity and Maya/Blender).

Or is there a better/easier way to do this?

Thanks in advance!

more ▼

asked Jan 26 '12 at 05:17 AM

5upernaut gravatar image

5upernaut
1 2 2 2

The locomotion system is only really useful for legs. However, it does include a few IK controllers that you can hijack for the purposes. It's surprisingly difficult to do what you want to do here- you should think hard about exactly how the arm needs to move, and then have a look at how you would go about implementing the IK controllers that come with the Locomotion System.

Jan 26 '12 at 05:18 AM syclamoth

Thanks for the quick response! It was sort of what I hoped to hear...that it sounds possible. I couldn't sleep for hours last night because I gradually began to understand the complexity of the movements I want, so I might have to settle for less. But I am going to try it out and see if I can get something to work. Thank you!

Jan 26 '12 at 06:22 PM 5upernaut
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

It seems it would better to use an Asset I found in the Asset Store for free: [http://u3d.as/content/dogzer/inverse-kinematics/2fP][1]

[1]: Inverse Kinematics by Dogzer.

I still have issues though, but I will make another question for that.

more ▼

answered Jan 27 '12 at 01:40 AM

5upernaut gravatar image

5upernaut
1 2 2 2

(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:

x3774
x1866
x98
x26
x11

asked: Jan 26 '12 at 05:17 AM

Seen: 829 times

Last Updated: Jan 27 '12 at 01:40 AM