- Home /
Joints & Throws
If I wanted my character to grab an enemy and have him spin him around by his hand, which type of Joint component would I use, and how would I go about it? Or would I even use a Joint Component?
Example: If I were to spin the enemy by his foot, would this approach work for it:
I make the transform.parent of the Enemy the Enemy's leg, and then make the transform.parent of the Enemy's leg the Player's hand. Would that in turn cause the enemy to be moved by the Player's hands?
Answer by BerggreenDK · Aug 18, 2011 at 09:05 PM
Not sure, but I would never join two in-game instances. I might use their coordinates / vector3's too figure out what point to rotate around, but never join them.
I think you might need to implement some sort of "animation state machine" which tells you how to position your players, depending on if they are in "free-movement" or "picked-up" etc.
Your answer
Follow this Question
Related Questions
Make an enemy stop at a radius 0 Answers
Stop Hinge Joint 2D from spinning 0 Answers
Enemy Wave 1 Answer
Can anybody help me fix this wave spawning script please? 1 Answer
Create an Enemy Animation 0 Answers