- Home /
Question by
neatgadgets · Jul 27, 2019 at 08:33 AM ·
collisionparenting
Parenting ethans hand to a gameobject
I have parented ethans hand to an object, a spray can. It seems to make ethan crouch and then slide. The object is picked up when ethan collides with it
parenting code
other.gameObject.transform.parent = hand.transform;
other.transform.position = hand.transform.position;
Comment