- Home /
Question by
Vylse · Mar 10, 2012 at 09:47 AM ·
animationcollideactivation
How do i snap my character to a Lever to do an action??
i basically wanted my character to face, or snap to the location of the Lever or Switch.. etc., i don't have much idea on how will my character snap to position of the lever.
I'm about to use OnControllerCollider(hit: ControllerColliderHit), if i look at it, maybe my character will overlap or wont even be in exact distance to the lever to do the animation.
Any idea on how to do this?? same with Hanging on a Ledge?
Comment
Answer by NickolasTheGreek · Mar 11, 2012 at 07:06 PM
You could parent the arm to the lever, play an animation, then unparent it... Just an idea :)
Your answer
![](https://koobas.hobune.stream/wayback/20220613064944im_/https://answers.unity.com/themes/thub/images/avi.jpg)