- Home /
HOW TO MAKE RAGDOLL'S ARMS POINT TO MOUSE AND GRAB WITH CLICK?
So I've just started Unity is school and I'm trying to make this little boy (ragdoll) in Unity 3D that moves laid down on the floor by pointing his arms to the mouse and then when I left press mouse it grabs whatever is there (floor, objects) ((except himself)), and then, while pressing, his arms would get like rigid sticks and i could make him push his body foward to for example move and throw objects. Basically: Arms stretch and point to mouse & when I click they grab (except himself) and get very rigid. I don't know how to make this, I know it as do with inverse kinematics or something like that but I don't seem to find anything like this which I can adapt to make it work. Can anyone help me? Even giving small excerpts of code if you don't want to make it all would already be a help! Thank you so much! using System.Collections; using System.Collections.Generic; using UnityEngine; public class BoyController : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } }