Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Picking up an object by a character

Sign in to follow this  


Hello everybody,

today someone in the german Unity forum asks how best to pick up an item in Unity. It's about which animations have to be played and how does one accomplish that the character actually pick up the item?

The following way was discussed
I would play an animation that is similar to a pick up animation. If necessary, you can also just take an idle animation. In addition, I would use IK to move the left or right hand to the target and move the body (also over IK) toward the target. If you do it completely over IK, then the character bends almost completely from the hip and bends the upper body. I suppose for a better animation you should find an animation in which a character goes to his knees and then put the IK over it.

I ended up using an pickup animation. This animation starts by pressing a key and creates a transition from the idle animation to the pickup animation. After that IK has been activated. The IK bends the entire body in the direction of the pickup goal and additionally the arm bone was moved to the pickup target. 

I've fixed a few minor errors in grip accuracy and animations. Here's the newest version:
Video: https://streamable.com/m10p2


Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!