Hi All,
I have a character who has the ability to pick up and throw other characters / objects. The way I have done this so far is to use transform.find to get the handbone location for the character then parent this to the object. I then use translate to follow the movement of the hand.
This all works great when testing on cubes, BUT on the enemy Character mesh the pivot point is at the feet, not in the middle of the mesh. The effect is that my grab animation appears to pick the character up by his feet (which is kind of cool, but not what I was aiming for!).
I have tried adding an empty game object as a child of the character I am picking up, but the character does not follow the object. I guess I can try adding an empty game object as the parent of the character, but to do that I would need to re-write a bunch of other people’s code that relies on the mesh being at the top level (although I feel like this might be the way to go!).
Does anyone have a simple way of picking up an object at a location other than the center of it’s transform?